Last active
October 4, 2019 07:57
-
-
Save petercamfield/88fb472eac6f87faf38119a0ae8120cc to your computer and use it in GitHub Desktop.
Open all files listed by git diff in Visual Studio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias vsd='"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\devenv.exe" //edit $(git diff --name-only)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Useful for giving files the once over in Visual Studio prior to committing
git diff --name-only --diff-filter=AM
git diff --name-only --staged