Nyx*_*nyx 125 git github github-for-windows
我正在使用Github Windows 1.0.38.1,当我在提交后单击"同步"按钮时,我收到错误
我该如何调试此问题?如果在shell中,我该怎么办?
如果我做一个git push
或者同步工作正常git pull
,但是下次我想使用Github窗口进行同步时,我得到了同样的错误.
man*_*lds 115
当它说,只需打开外壳即可git status
.这样可以让您对错误的原因和回购状态有所了解.
我不能给你一个特定的错误,因为它出现在Github for Windows中有很多原因,比如更新子模块等问题.
Nav*_*hra 16
此错误是由于文件中的合并冲突引起的.在我更新了Maven Project的pom.xml但未提交它之后,我遇到了它.运用
git status
error: Your local changes to the following files would be overwritten by merge:
<my project>/pom.xml
Please, commit your changes or stash them before you can merge.
Aborting
Run Code Online (Sandbox Code Playgroud)
正如上面的帖子建议帮助找到任何冲突的变化,你可以决定放弃或提交.
当我从Visual Studio内部尝试时,我遇到了同样的问题,而shell中的“ git status”显示没有问题。但是我设法通过外壳通过“ git push”来推送本地更改。