RicoSuter / NuGetReferenceSwitcher

Visual Studio extension to switch between NuGet and project references.
http://nugetreferenceswitcher.org
Microsoft Public License
208 stars 69 forks source link

Add git support to utilize stashing to manage ephemeral reference changes #42

Open SmeeK153 opened 6 years ago

SmeeK153 commented 6 years ago

Added steps to utilize git stash if the underlying solution is in git control in order to stash any changes made before switching references, and restore those changes after switching the references back in order to leave a more sanitized environment after toggling the references.

RicoSuter commented 6 years ago

Maybe we should put this behind an option (ie checkbox in the ui) so that the extension also works for users without git?

SmeeK153 commented 6 years ago

I think that is definitely a much better way to go; assuming less about what the default behavior should be for the user.

SmeeK153 commented 6 years ago

@RSuter, take a look and let me know what you think of the check I added.