有没有可以管理多个 repository 的 git 管理工具?

2015 年 2 月 26 日
 coldplayer
要求是 Simultaneously operate multiple repositories ...
6710 次点击
所在节点    git
22 条回复
hahastudio
2015 年 2 月 26 日
就是说会有多个保管的位置咯?
Let me google it for you: git manage multiple repo
比如:
https://github.com/mixu/gr
http://myrepos.branchable.com/
paradislover
2015 年 2 月 26 日
repo值得你拥有
paradislover
2015 年 2 月 26 日
coldplayer
2015 年 2 月 26 日
@hahastudio 已经google过,也是这两个工具。。但没有其他native的方式吗?比如通过配置config文件之类
iptux
2015 年 2 月 26 日
要 git 原生的话就是 submodule
linzy
2015 年 2 月 26 日
sourcetree
endoffight
2015 年 2 月 26 日
sourcetree +1
jiehuangwei
2015 年 2 月 26 日
你说的 Simultaneously 是什么意思, 一个 repos,多个服务器管理中心,同时提交,同时更新? 这个可以直接在config下面配置。commit 和 update 的时候 可以 分开,也可以一个命令发送到多个服务器。
类似这种
[remote "bitbucket"]
url = ssh://git@bitbucket.org/username/algorithm.git
fetch = +refs/heads/*:refs/remotes/bitbucket/*
[remote "github"]
url = git@github.com:username/algorithm.git
fetch = +refs/heads/*:refs/remotes/github/*
[remote "all"]
url = ssh://git@bitbucket.org/username/algorithm.git
url = git@github.com:username/algorithm.git
coldplayer
2015 年 2 月 26 日
@jiehuangwei 是多个repos,分别对应多个remote repos.
Simultaneously: 比如一次性把今天在多个repos里提交过的代码都push到各自的remote repos;或者一次性对每个local repo执行add/commit之类。
coldplayer
2015 年 2 月 26 日
@hahastudio @paradislover @jiehuangwei 开始试用 mu-repo了 https://github.com/fabioz/mu-repo
@iptux @linzy sourcetree +10086, 但不清楚license对公司内使用是否有问题。
jamlee
2015 年 2 月 26 日
sourcetree +2
SeanChense
2015 年 2 月 26 日
sourcetree +3
sudoz
2015 年 2 月 26 日
smartgit > sourcetree
jayin
2015 年 2 月 27 日
sourcetree +4
tinyhill
2015 年 2 月 27 日
sourcetree
sinsin
2015 年 2 月 27 日
@coldplayer 公司、团体用没问题的: https://confluence.atlassian.com/display/SOURCETREEKB/SourceTree+License+For+Corporate+Usage

ps.不过这类工具大家都是把自己定位成DVCS的GUI前端而已,用的时候都要求去下载个PortableGit/Hg什么的,这有点“重”啊233
openroc
2015 年 2 月 27 日
搞过repo,自己搭了一套(不含代码review那块),针对大项目比较好,不然你会有点杀鸡用牛刀的赶脚
h4lt
2015 年 2 月 27 日
sourcetree官网上的OSX版本下载怎么都挂了= =
iPandx
2015 年 2 月 27 日
@h4lt 需要翻墙。。。别问我怎么知道的
shenqi
2015 年 2 月 27 日
管理多个 repo 就用github 客户端。
处理多个远程仓库,就用命令行。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/172979

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX