您的位置:首页 > 其它

git/repo rebase 用途

2016-05-31 11:21 267 查看


Git
repo sync error: branch XXXX is published (but not merged) 

把目前的local branch 接到upstream最新的狀態,原因在於upload的patchset 還在pending,
upstream已經有新的修改,自己的local branch再syncing一次就會掛點.

所以要用repo rebase <project> 把目前操作的project先接到upstream最新狀態,之後再syncing才會對.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  repo sync repo git rebase