GIT提交报错,是什么意思呢?

git-cdiff.mnemonicprefix=false-ccore.quotepath=false-ccredential.helper=sourcetreecommit-q-F/var/folders/c1/1l_k0nkj5zl0f26qll1p40sm0000gn/T/SourceTreeTemp.DTlcFH
git-cdiff.mnemonicprefix=false-ccore.quotepath=false-ccredential.helper=sourcetreepush-v--set-upstreamoriginrefs/heads/Dev:refs/heads/Dev
2018-01-0311:28:28.359git-credential-sourcetree[7881:213624]Error(internetKeychainItemForServer:withUsername:path:port:protocol:)-Thespecifieditemcouldnotbefoundinthekeychain.
Tohttps:**********.git(这里是我隐藏的Git地址)
![rejected]Dev->Dev(non-fast-forward)
error:failedtopushsomerefsto'https:**********.git(这里是我隐藏的Git地址)'
hint:Updateswererejectedbecausethetipofyourcurrentbranchisbehind
hint:itsremotecounterpart.Integratetheremotechanges(e.g.
hint:'gitpull...')beforepushingagain.
hint:Seethe'Noteaboutfast-forwards'in'gitpush--help'fordetails.
Completedwitherrors,seeabove
这是什么错啊,不能提交啊?
ABOUTYOU
浏览 1245回答 2
2回答

肥皂起泡泡

你当前分支落后了,先pull一下,再提交。hint:'gitpull...')beforepushingagain.//看这句

慕雪6442864

.....别的电脑修改了然后已经提交,你换了台电脑修改在提交....当然提交不上去....本地仓库跟远程仓库冲突,先把远程仓库的更新跟你本地的同步了,在提交。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

JavaScript