2011-09-08 117 views

回答

20

转到github回购,然后点击“fork”。现在你有一个叉:)现在,您需要更改推送到你的叉子,并通过github上

发送拉入请求
git remote add myfork [email protected]:MyUsername/MyForkRepository.git 
git push myfork master 

从那里你可以发送拉入请求非常简单。

0

您可以在命令行中使用全部github's hub。对于最终的胜利,您可以将'origin'改为您的分支,并将您分叉为上游的项目更改为一些重命名:

# fork the project you cloned, creates a new remote with your username 
# (and forks the project on github if you haven't already done so): 
git fork 
git remote rename origin upstream 
git remote rename YOURUSERNAME origin