Last active
April 22, 2020 22:04
-
-
Save tmastny/e306ea7aa862413bf9b344b53ce1425f to your computer and use it in GitHub Desktop.
Open files that were modified or are new to current branch
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
# also works with sublime (subl) | |
code $(git diff --name-only master) | |
# relative is also useful depending on your working directory | |
code $(git diff --relative --name-only master) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment