如何轻松预览许多git -repos?

时间:2012-01-22 22:14:38

标签: git

我在不同的项目中有很多git回购,我希望看到更多关于他们发展的鸽子观点。我目前只是进入个人回购,但必须有更简单的方法。我在团队工作中使用了Flowdock(使用RSS),但这并不是我想要的。我需要一些关于控制台中git报告的鸽子视图,而不是反复进入每个项目。 (我目前在github / bitbucket中看到了pigeon-view,但我希望在控制台或类似的东西上看到它。)如何轻松预览许多git -repos?

试用1:一些摘要?

$ find . -iname ".git"     # find me all git -repos
...
$  find . -iname ".git"|wc # shows the amount of repos
     40      40     434
$ How can I execute here a command to preview the developments in each repo?
$ They may be related projects so it would be extremely useful to see where
$ things are going!
$ 
$ find . -iname ".git" -exec cd '{}' & cd .. & git log $PWD|head -n7 \; # err
$ Some tool to do this kind of erroneous things? 
$ (there is some small mistake but it is just sketching my idea about pigeon view)
$ (also some sort of graphical connection diagram between repos would be useful)

相关问题,但与我正在寻找的工具无关

  1. Using git for a project with many, many repos
  2. Is anyone really using git super/subprojects?
  3. Git: how to avoid repetitive committing with sub-sub-sub... Git -repos?

1 个答案:

答案 0 :(得分:2)

要么将每个仓库中的一个仓库设为远程设备,然后从所有设备中提取,然后过滤您的git log --all - 或者 - 使用您的仓库的多个子模块制作一个仓库并执行git submodule foreach git log或其他操作类似。