开发者

how to collect release version in lots of git repositories

I have lots of git repositories which are managed by repo. I know the "repo start" and "git push" is a solution to record the ve开发者_如何学Crsion of all repositories. But I don't want to see lots of branches or tags on all repositories. Especially, I want to check all of logs as time sorting even the log is on different git so that I can track every changes easily, and without "git log" one by one. Are there any tools help me?

==========

After a half day for research … I find the repo manifest -r maybe a solution. This command outputs a manifest.xml by recording SHA1 of each git repository. I use this routine:

cd .repo/manifests
repo manifest -r -o default2.xml
cp default2.xml default.xml
git commit -am "Release manifest.xml"

After committing a repository is done, do this routine once. Is there better method than this?

=====================================

I draw a diagram to explain my question.

how to collect release version in lots of git repositories

Is there any tool to manage these released versions? I would like switch among release not only a single git.So far, I only find the command repo manifest -r to do this job. What are the key words to find this kinds of requirement?


I'm not sure how repo works, but if you are looking for something that runs git commands recursively against a directory containing git repositories - try rgit

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜