I have a file in my repository I want to use git blame on, but I'm not sure what its path is.
I've managed to use git log like this:
git log -- '**/somefile'
But I can't seem to do the same with git blame. Is it possible?
If it's relevant, I'm using mysysgit (git version: 1.9.5.msysgit.1).
You'll have to find the file first:
git ls-files -- '**/somefile'
Then use git blame
on the returned path.
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