我在本地分支文件夹中有分支A和分支B.在EGit中切换到另一个分支无法工作
Branch A正在工作。 现在我想切换到B.
窗口弹出:
Checkout Conflicts
The files shown below have uncommitted changes which would be lost by checking out 'master'.
Either commit the changes, stash the changes, or discard the changes by resetting the current branch.
project.properties.
There are 3 options:
Commit..
Stash...
Reset
无论哪个选项我选择,这是行不通的。 例如,如果我选择“藏匿”选项,它说:
"The repository does not contain any local changes to stash".
我怀疑例如:It记录有一定的冲突,因此它无法知道如何做下一步。
唯一的方法: 要删除本地分支,并将远程存储库克隆到本地? 这需要花费一些时间下载。
您使用的是什么版本的EGit? – robinst