Visual Studio: Git Team Explorer does not show any changes

前端 未结 9 1520
野趣味
野趣味 2021-02-05 05:44

When I first add a project to source control(GIT) it will show all of the files and everything will be peachy. I can continue to work for about 30mins-1hr and all of the change

相关标签:
9条回答
  • 2021-02-05 06:09

    If you're using Git Extensions, Reinstall and restart your Visual Studio 2015, it solved my problem.

    0 讨论(0)
  • 2021-02-05 06:10

    My Visual Studio "Source Control - Git" log kept complaining about a locked file from my SQL project. A .jfm file. Added it to .gitignore and then stuff worked.

    So check your Git log when your solution shows no changes no matter what you change.

    0 讨论(0)
  • 2021-02-05 06:17

    For me rebooting was not necessary. Simply closing and reopening the Solution works. Whenever that trick doesn't work, restarting Visual Studio works.

    Unlike Eclipse IDE, Visual Studio doesn't provide a Restart menu item. I need to install an Extension to do this.

    0 讨论(0)
  • 2021-02-05 06:19

    For what it's worth, I didn't have to reboot VS2015 or my machine to get my changes to appear. I simply disconnected from the source control, and reconnected, and it saw the changes then.

    0 讨论(0)
  • 2021-02-05 06:20

    Rebooting my machine fixed it for me. Rebooting Visual Studio wasn't enough, but after rebooting the entire system the changes are now shown in Team Explorer.

    0 讨论(0)
  • 2021-02-05 06:22

    In my scenario, I was working on my local project and simultaneously I have cloned the project in different directory. When I was trying to clone in my current working project, it was somehow connecting to other folder. I opened git bash for my current project and could see, branch is not associated. When I opened cloned project, i could see the branch associated. So in VS, I opened the cloned repo and added my project, I was able to see my changes in Team Explorer, Changes

    0 讨论(0)
提交回复
热议问题