Skip to content

Instantly share code, notes, and snippets.

@garybernhardt
Created January 25, 2015 21:21
Show Gist options
  • Save garybernhardt/49778de2c034804dab22 to your computer and use it in GitHub Desktop.
Save garybernhardt/49778de2c034804dab22 to your computer and use it in GitHub Desktop.
git diff --name-status head~3000..head | grep '^D' | awk '{print $2}' | while read f; do git log -1 --pretty="format:%H" -- "$f"; done > temp.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment