赞
踩
当我们在本地提交到远程仓库的时候,如果遇到上述问题,我们可以首先使用如下命令:
git rebase origin/master
然后使用
git pull --rebase
最后使用
git push origin master
把内容提交到远程仓库上。
直接复制如下运行即可
- git rebase origin/master
- git pull --rebase
- git push origin master
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。