bou*_*tai 17 git branch github git-pull git-rebase
所以,我的工作环境恰好有一个分支,在Github上有一个远程伴侣.我正在尝试这样做git pull --rebase,以防止git push创建合并提交消息,这些消息不向处理此项目的其他人提供新信息,只是搞砸了工作.但是当我尝试这个时,它给了我这个:
From https://github.com/our_profile/our_repository
 * branch            HEAD        -> FETCH_HEAD
Cannot rebase onto multiple branches
拉动中止.打电话git branch通知我,我的本地机器上只有一个分支,所以发生了什么?
pok*_*oke 13
尝试确切指定要拉出的远程分支:
git pull --rebase origin branch
或者,您也可以git fetch先从远程存储库进行所有更改,然后手动重新绑定:
git rebase origin/branch