ubuntu 在 R40e 上 還有 Debian 在 Sempron 2600 上

2013年9月2日 星期一

repo : how to tag entire repo

g+ 上看到的。
如何把整個 repo 作 tag。

COPY:
Yes, exactly, you overwite the default.xml. But you should probably
do it on a branch, so maybe:

cd .repo/manifests
git checkout -b my-tag-name
repo manifest -r -o default.xml

git commit -a -m "tag ..."

and then push the branch, my-tag-name, back to your manifest project.
Later you can get back to this "tagged point" by doing:

repo init -b my-tag-name ...

After pushing your tag branch, you might want to switch your
manifest project back to the default branch and delete the tag
branch, to avoid confusing repo:

cd .repo/manifests
git checkout default
git branch -D my-tag-name


ref:

沒有留言:

標籤

網誌存檔