简体   繁体   English

SourceTree 不刷新文件更改和暂存状态 - windows

[英]SourceTree is not refreshing the file changes and stage unstage status - windows

Recently SourceTree stopped working and do not refresh the files which are changed.最近 SourceTree 停止工作并且不刷新已更改的文件。 It was working fine for a year.它工作了一年。 My settings are correct.我的设置是正确的。 " Refresh automatically when files change " is also checked in options -> general. 文件更改时自动刷新”也在选项 -> 常规中选中。

When I change or stage a file I have to close and then reopen the Source Tree to see the changes.当我更改或暂存文件时,我必须关闭然后重新打开源树以查看更改。

I was also not able to resolve the conflicts as external tool was not opening.由于外部工具未打开,我也无法解决冲突。

I did several attempts bt restarting the computer and uninstalling reinstalling the software.我做了几次尝试 bt 重新启动计算机并卸载重新安装软件。 But it was still behaving same.但它的行为仍然相同。 Because it was not deleting the directory C:\\Users\\[your-username]\\AppData\\Local\\Atlassian\\SourceTree on uninstall.因为它没有在卸载时删除目录C:\\Users\\[your-username]\\AppData\\Local\\Atlassian\\SourceTree

Following solution helped me fix the issue.以下解决方案帮助我解决了这个问题。

  1. Close SourceTree关闭源树
  2. Go to the directory C:\\Users\\[your-username]\\AppData\\Local\\Atlassian转到目录C:\\Users\\[your-username]\\AppData\\Local\\Atlassian
  3. Rename SourceTree to _SourceTree (in order to backup your configurations)SourceTree重命名为_SourceTree (为了备份您的配置)
  4. Open SourceTree and it was working.打开SourceTree ,它正在工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM