如何把整個 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:
沒有留言:
張貼留言