假设我是user1
,我有一个Github帐号http://github.com/user1
。当然,我会成立混帐本地像这样:设置git推送到其他用户的Github回购?
origin [email protected]:user1/repo.git (fetch)
origin [email protected]:user1/repo.git (push)
我会做什么,如果我有取&推权限别人的回购(比方说user2
),其回购位于http://github.com/user2/user2srepo.git
?编辑: 对不起,每个人都对他们的答案是正确的。我应该澄清,我曾经设置为origin http://github.com/user2/user2srepo.git
,但我希望避免每次推送时都要求提供用户凭据。
可能重复http://stackoverflow.com/questions/4454839/github-collaboration-using-the-shared-repository-model) – eykanal 2012-07-17 16:19:36