最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

repository - Unstaged changes disappearing after saving files in Visual Studio 2017 - Stack Overflow

programmeradmin1浏览0评论

I am using Visual Studio 2017 (version 15.9.70 recently updated), and I am facing an issue where unstaged changes are disappearing after editing and saving any file. I can see the changes briefly in the "Unstaged Changes" section in the Git Changes panel, but as soon as I save the file, it shows zero changes, and the file is no longer listed in the unstaged changes.

I have tried:

  1. I made sure the file is saved and properly updated in the project directory.
  2. I verified that my project is connected to a Git repository and initialized correctly.
  3. I tried using Git Bash to check for unstaged changes with git status but did not see any changes.
  4. I’ve cleared Visual Studio’s cache and restarted it.
  5. I have again cloned the repository
  6. Updated the Visual Studio version from 15.9.70 to 15.9.70
  7. Uninstall and reinstall the visual studio 2017
发布评论

评论列表(0)

  1. 暂无评论