Sourcetree 2.1.2.5 - Shows “Uncommitted changes” yet nothing is pending

喜欢而已 提交于 2019-12-10 13:18:28

问题


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.

According to the Atlassian forums there is usually two reasons:

  1. You have many, many unstaged files in your working directory that get listed in SourceTree. This causes Git/Hg to take quite some time going through all the files, and so SourceTree waits on Git/Hg to report back. - Tried hard reset so any changed should have been reverted. If I edit one file it shows up in Sourcetree.
  2. Your system specifications aren't quite up to scratch. Really you need about 20GB free disk space, and some decent memory backing you up. - 154GB free HDD space. 8GB ram free.

https://community.atlassian.com/t5/SourceTree-questions/quot-Uncommitted-changes-quot-yet-nothing-is-pending/qaq-p/94549


回答1:


As mentioned in jblopez's answer this is a bug (still unresolved almost 4 months later).

The workaround is to disable LibGit2 integration.
Tools -> Options -> Git -> and tick the Disable LibGit2 integration checkbox down the bottom of the tab.
Restart Sourcetree and the phantom commits disappear.




回答2:


There is currently an open bug in SourceTree for this very issue.
SRCTREEWIN-7112



来源:https://stackoverflow.com/questions/44940990/sourcetree-2-1-2-5-shows-uncommitted-changes-yet-nothing-is-pending

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!