git
› Pro Git
› Atlassian Git Tutorial
› Pro Git 简体中文翻译
› GitX
coldplayer
V2EX  ›  git

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

  •  
  •   coldplayer · Feb 26, 2015 · 7459 views
    This topic created in 4267 days ago, the information mentioned may be changed or developed.
    要求是 Simultaneously operate multiple repositories ...
    22 replies  •  2015-02-28 09:06:11 +08:00
    hahastudio
    hahastudio
    Feb 26, 2015❤️1
    1
    就是说会有多个保管的位置咯?
    Let me google it for you: git manage multiple repo
    比如:
    https://github.com/mixu/gr
    http://myrepos.branchable.com/
    paradislover
    paradislover
    Feb 26, 2015
    2
    repo值得你拥有
    coldplayer
    coldplayer
    OP
    Feb 26, 2015
    4
    @hahastudio 已经google过,也是这两个工具。。但没有其他native的方式吗?比如通过配置config文件之类
    iptux
    iptux
    Feb 26, 2015 via iPhone
    5
    要 git 原生的话就是 submodule
    linzy
    linzy
    Feb 26, 2015
    6
    sourcetree
    endoffight
    endoffight
    Feb 26, 2015
    7
    sourcetree +1
    jiehuangwei
    jiehuangwei
    Feb 26, 2015❤️1
    8
    你说的 Simultaneously 是什么意思, 一个 repos,多个服务器管理中心,同时提交,同时更新? 这个可以直接在config下面配置。commit 和 update 的时候 可以 分开,也可以一个命令发送到多个服务器。
    类似这种
    [remote "bitbucket"]
    url = ssh://[email protected]/username/algorithm.git
    fetch = +refs/heads/*:refs/remotes/bitbucket/*
    [remote "github"]
    url = [email protected]:username/algorithm.git
    fetch = +refs/heads/*:refs/remotes/github/*
    [remote "all"]
    url = ssh://[email protected]/username/algorithm.git
    url = [email protected]:username/algorithm.git
    coldplayer
    coldplayer
    OP
    Feb 26, 2015
    9
    @jiehuangwei 是多个repos,分别对应多个remote repos.
    Simultaneously: 比如一次性把今天在多个repos里提交过的代码都push到各自的remote repos;或者一次性对每个local repo执行add/commit之类。
    coldplayer
    coldplayer
    OP
    Feb 26, 2015
    10
    @hahastudio @paradislover @jiehuangwei 开始试用 mu-repo了 https://github.com/fabioz/mu-repo
    @iptux @linzy sourcetree +10086, 但不清楚license对公司内使用是否有问题。
    jamlee
    jamlee
    Feb 26, 2015
    11
    sourcetree +2
    SeanChense
    SeanChense
    Feb 26, 2015
    12
    sourcetree +3
    sudoz
    sudoz
    Feb 26, 2015
    13
    smartgit > sourcetree
    jayin
    jayin
    Feb 27, 2015
    14
    sourcetree +4
    tinyhill
    tinyhill
    Feb 27, 2015
    15
    sourcetree
    sinsin
    sinsin
    Feb 27, 2015
    16
    @coldplayer 公司、团体用没问题的: https://confluence.atlassian.com/display/SOURCETREEKB/SourceTree+License+For+Corporate+Usage

    ps.不过这类工具大家都是把自己定位成DVCS的GUI前端而已,用的时候都要求去下载个PortableGit/Hg什么的,这有点“重”啊233
    openroc
    openroc
    Feb 27, 2015
    17
    搞过repo,自己搭了一套(不含代码review那块),针对大项目比较好,不然你会有点杀鸡用牛刀的赶脚
    h4lt
    h4lt
    Feb 27, 2015
    18
    sourcetree官网上的OSX版本下载怎么都挂了= =
    iPandx
    iPandx
    Feb 27, 2015❤️1
    19
    @h4lt 需要翻墙。。。别问我怎么知道的
    shenqi
    shenqi
    Feb 27, 2015
    20
    管理多个 repo 就用github 客户端。
    处理多个远程仓库,就用命令行。
    petercai
    petercai
    Feb 28, 2015
    21
    你是指Google AOSP用的repo工具么
    faywanghq
    faywanghq
    Feb 28, 2015 via Android
    22
    @openroc 顶。repo一般场景下确实够用了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1863 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 70ms · UTC 00:01 · PVG 08:01 · LAX 16:01 · JFK 19:01
    ♥ Do have faith in what you're doing.