Created
May 13, 2019 01:41
-
-
Save adamrosloniec/e295c9bc2fbd7b78e1be0037e92684fb to your computer and use it in GitHub Desktop.
GIT - Show list of changed files in 4 last commits (ex. in 4 last commits)
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
// show changed files in only last one commit: | |
git diff --name-only HEAD~1..HEAD | |
// show changed files in 4 last commits: | |
git diff --name-only HEAD~4..HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment