简体   繁体   中英

VS 2013 - how to track file changes in solution explorer?

I'm using git from the command line (cygwin). When I checkout older commits or change branches, the solution explorer doesn't update to match the new files that have been created/deleted. How can I make visual studio refresh to reflect the file changes?

I have the settings "Detect when file is changed outside the environment" and "Auto-load changes, if saved" enabled, but they don't seem to help. The button "show all files" will show files that were introduced but doesn't remove files that are now gone.

As I noted in my comment there is an open defect against the behavior you would like to achieve.

https://connect.microsoft.com/VisualStudio/feedback/details/773039/detect-file-changes-outside-environment-not-working

Update : First option:

In the meantime , try to install a vs2013 extension to handle it.

I recommend 2 extension that may help you:

  1. Git Source Control Provider
  2. Workspace Reloader

I hope it will address your need.

Update : the second option is to use vs2013 integrated git tools

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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