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

标签 git

我在不同的项目中有很多 git 存储库,我希望看到关于它们开发的更多鸽派观点。我目前只是输入个人 repo 协议(protocol),但必须有更简单的方法。我在团队工作中使用过 Flowdock(使用 RSS),但这并不是我真正想要的。我需要一些关于控制台中 git 报告的鸽 subview ,而不需要重复输入每个项目。 (我目前在 github/bitbucket 中看到 pigeon-view,但我想在控制台或类似 thta 的东西上看到它。)如何轻松预览许多 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?

最佳答案

要么用你的每个 repos 作为 remotes 创建一个 repo,然后从所有的中获取,然后过滤你的 git log --all -- 或者 -- 用你的 repos 的多个子模块创建一个 repo,然后做一个git submodule foreach git log 或类似的东西。

关于git - 如何轻松预览多个 git -repos?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8965213/

相关文章:

git - Github 与 Bitbucket 的命令相同/不同? git-sh 呢?

bash - 如何将变量注入(inject) git submodule foreach?

git - git SHA 依赖于什么?

git - 为什么Git的单键设置不起作用?

git - 我可以同时使用 SourceTree 和 GitHub 应用程序吗?

git - go build 不起作用,因为 git 在 Linux 上被对等方重置了致命的读取错误连接

WSL 上的 Git 通过 SSH 到 Azure DevOps 失败,并显示 "Permission denied (password,publickey)."

git - Bitbucket 无法 checkout Sourcetree 中的存储库

git - 运行 "git mv"与仅运行 "mv"有什么区别

Git:从 pull 请求中排除提交的文件