Git 如何保持 Git Fork 持续更新

rocLv · 2017年07月21日 · 6389 次阅读

原文:Keeping A GitHub Fork Updated

摘要:

$ git clone [email protected]:croaky/dotfiles.git
$ cd  dotfiles

$ git remote add upstream [email protected]:thoughtbot/dotfiles.git 


$ git fetch upstream
$ git rebase upstream/master

//假如对upstream有commit的权限的话

$ git checkout -b upstream upstream/master
暂无回复。
需要 登录 后方可回复, 如果你还没有账号请 注册新账号