Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save adamrosloniec/e295c9bc2fbd7b78e1be0037e92684fb to your computer and use it in GitHub Desktop.
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)
// 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