ostree命令的基础用法
ssk-wh Lv4

安装

sudo apt install ostree

init

cd ostree/
ostree init –repo=. init
image

Just make your own changes and continueostree…

commit

将 tree/ 目录下的内容导入,提交信息未填写默认为空
ostree –repo=. commit –branch=foo tree/
image

指定提交内容
image

refs

列出仓库分支
image

ls

查看文件系统树的内容
image

cat

查看文件内容
image

checkout

检出
image

reset

重置到某个提交,在此之后的提交全部丢弃
image

log

查看分支提交信息
image

show

查看最新一笔提交
image

diff

比较提交差异
image

OSTREE_REPO

指定仓库地址,从而无需在命令中指定–repo
image

Manual

https://ostreedev.github.io/ostree/man/

开发

https://github.com/qt/qtotaupdate

 Comments
Comment plugin failed to load
Loading comment plugin