2011-09-08 119 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