Re:Git Blame-Someone-Else
by nasretdinov on Sunday June 04, 2023 @04:13AM
(#36183923)
The only downside of this script is that it changes commit hashes, so you actually can only blame someone else if you force-push or just showing blame on your computer. It would be nice if it could be done without changing the commit SHAs.
Re:Git Blame-Someone-Else
by aflag on Sunday June 04, 2023 @06:37AM
(#36184519)
Initially I thought it would show all changes to a file that were made by someone other than the person running the command. So, for instance, if there's a line I changed recently, it would go down history further to find the original author.
Re:Git Blame-Someone-Else
by saagarjha on Sunday June 04, 2023 @06:49AM
(#36184584)
It's actually a pretty convenient script to use locally when doing repository manipulation, for example when you're cherry-picking other people's commit via patch and want to attribute it to them.