Created
February 25, 2020 07:32
-
-
Save jonathanknowles/e9988983901f63e2094a5dd9535a8a11 to your computer and use it in GitHub Desktop.
Querying git to find all previous paths for a file.
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
git log --follow --name-status -- filename | egrep R[0-9]+ | awk '{print $2; print $3}' | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment