git gui 添加项目出错解决

技术分享 2019-10-01 00:00:00
如 : Updates were rejected because the tip of your current branch is behind

这个是因为创始了本地仓库,远程仓库一般也是被初始化的,revision 不同步导致的


可以强行pull 或者 push


解决:
① pull
gui 可能为了安全没有 pull
可以 fetch + merge 两部走


② 强行 push


git push -u origin master -f







git gui 虽然简陋,但是还是好工具啦
咨询小瓶科技
咨询我们
顶部