Skip to content

Instantly share code, notes, and snippets.

@chrisross
Created July 25, 2013 19:23
Show Gist options
  • Save chrisross/6082897 to your computer and use it in GitHub Desktop.
Save chrisross/6082897 to your computer and use it in GitHub Desktop.
A Bash alias for a script to list files that have changed or been added between the last two tags.
alias gdt="git tag | sort -bt. -k1,1 -k2,2n -k3,3n -k4,4n -k5,5n | tail -n 2 | xargs git diff --name-only"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment