[英]Sourcetree 2.1.2.5 - Shows “Uncommitted changes” yet nothing is pending
I have a problem that I have not been experienced before. 我有一个以前没有经历过的问题。 Even though I have nothing to commit and have tried to reset my branch to the latest commit Sourcetree shows
Uncommitted changes
. 即使我没有任何提交,并试图将我的分支重置为最新的提交Sourcetree显示
Uncommitted changes
。
According to the Atlassian forums there is usually two reasons: 根据Atlassian论坛,通常有两个原因:
https://community.atlassian.com/t5/SourceTree-questions/quot-Uncommitted-changes-quot-yet-nothing-is-pending/qaq-p/94549 https://community.atlassian.com/t5/SourceTree-questions/quot-Uncommitted-changes-quot-yet-nothing-is-pending/qaq-p/94549
As mentioned in jblopez's answer this is a bug (still unresolved almost 4 months later). 正如jblopez的回答中提到的,这是一个错误(差不多4个月后仍未解决)。
The workaround is to disable LibGit2 integration. 解决方法是禁用LibGit2集成。
Tools -> Options -> Git -> and tick the Disable LibGit2 integration checkbox down the bottom of the tab. 工具 - >选项 - > Git - >并勾选选项卡底部的Disable LibGit2 integration复选框。
Restart Sourcetree and the phantom commits disappear. 重新启动Sourcetree,幻像提交消失。
There is currently an open bug in SourceTree for this very issue. SourceTree目前存在一个针对此问题的漏洞。
SRCTREEWIN-7112 SRCTREEWIN-7112
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.