Created
December 24, 2018 20:58
-
-
Save maishsk/4ea0a0d7772056ab59cc91855ac3b6d0 to your computer and use it in GitHub Desktop.
Get changed files in the last commit.
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
changed_files=$(git diff --numstat HEAD~1 HEAD | awk '{ print $NF }') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment