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

2015-02-26 16:59:25 +08:00
 coldplayer
要求是 Simultaneously operate multiple repositories ...
5909 次点击
所在节点    git
22 条回复
hahastudio
2015-02-26 17:06:28 +08:00
就是说会有多个保管的位置咯?
Let me google it for you: git manage multiple repo
比如:
https://github.com/mixu/gr
http://myrepos.branchable.com/
paradislover
2015-02-26 17:10:37 +08:00
repo值得你拥有
paradislover
2015-02-26 17:11:01 +08:00
coldplayer
2015-02-26 17:14:31 +08:00
@hahastudio 已经google过,也是这两个工具。。但没有其他native的方式吗?比如通过配置config文件之类
iptux
2015-02-26 17:19:38 +08:00
要 git 原生的话就是 submodule
linzy
2015-02-26 17:26:21 +08:00
sourcetree
endoffight
2015-02-26 17:53:59 +08:00
sourcetree +1
jiehuangwei
2015-02-26 18:05:08 +08:00
你说的 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-02-26 18:19:10 +08:00
@jiehuangwei 是多个repos,分别对应多个remote repos.
Simultaneously: 比如一次性把今天在多个repos里提交过的代码都push到各自的remote repos;或者一次性对每个local repo执行add/commit之类。
coldplayer
2015-02-26 19:34:06 +08:00
@hahastudio @paradislover @jiehuangwei 开始试用 mu-repo了 https://github.com/fabioz/mu-repo
@iptux @linzy sourcetree +10086, 但不清楚license对公司内使用是否有问题。
jamlee
2015-02-26 21:01:01 +08:00
sourcetree +2
SeanChense
2015-02-26 22:03:37 +08:00
sourcetree +3
sudoz
2015-02-26 22:24:50 +08:00
smartgit > sourcetree
jayin
2015-02-27 00:07:15 +08:00
sourcetree +4
tinyhill
2015-02-27 00:18:39 +08:00
sourcetree
sinsin
2015-02-27 08:58:17 +08:00
@coldplayer 公司、团体用没问题的: https://confluence.atlassian.com/display/SOURCETREEKB/SourceTree+License+For+Corporate+Usage

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

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

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

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

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

© 2021 V2EX