Is there a way to find who recently changed a file in git?
For exaxmple, I need last 5 people who changed this file. I tried git annotate and git blame but I could not find the exact thing I wanted.
git shortlog does what you want:
git shortlog -sne <filename>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With