V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
git
Pro Git
Atlassian Git Tutorial
Pro Git 简体中文翻译
GitX
n2n3
V2EX  ›  git

[help.github] forking a project

  •  
  •   n2n3 · 2010-11-04 03:23:49 +08:00 · 4149 次点击
    这是一个创建于 4916 天前的主题,其中的信息可能已经有所发展或是发生改变。
    5 条回复    1970-01-01 08:00:00 +08:00
    romoo
        1
    romoo  
       2010-11-05 10:38:44 +08:00
    初学者的一点疑惑:

    Now clone the fork locally. Make sure you use the Private URL, not the Public URL.

    这一句看不懂了。
    n2n3
        2
    n2n3  
    OP
       2010-11-05 11:14:23 +08:00
    就是 git clone [email protected]:romoo/v2ex.git
    这是 ssh 的,可以 push

    git://github.com/livid/v2ex.git
    只能 pull
    或者 fetch + merge
    romoo
        3
    romoo  
       2010-11-05 11:24:36 +08:00
    @n2n3

    也就是说 SSH 那个是 Private URL,下面那个是 Public URL?
    lianghai
        4
    lianghai  
       2010-11-05 12:58:35 +08:00
    @romoo 同样在 GitHub 晕头转向的初学者表示:每个 Repo 页面的最上面都显示着两三个 URL,SSH 的那个是 private 的。
    roamlog
        5
    roamlog  
       2010-11-05 14:38:51 +08:00
    大家先看看这个吧 http://progit.org/book/zh/ch4-1.html
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   891 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:03 · PVG 06:03 · LAX 15:03 · JFK 18:03
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.