Created
January 19, 2021 03:43
-
-
Save justanotherdot/cf4c2e903921c9067a0b9d0c508c4391 to your computer and use it in GitHub Desktop.
Compare main branch to topic/foo and who touched files last, and when they were touched.
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
for f in $(git diff --name-only topic/foo) ; do git --no-pager log -z --pretty=format:"$f was last touched by %cn %cr%n" $f | head -1; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment