News for hackers. Stuff that matters.
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.
Re:Git Blame-Someone-Else by ahrzb on Sunday June 04, 2023 @07:00AM (#36184632)
But changing commit author is quite easy with git, just do: ‘git commit -a —author “<name+email>”’
Re:Git Blame-Someone-Else by saagarjha on Sunday June 04, 2023 @07:48AM (#36184868)
I often need to change the author on commits that aren't the topmost one.
Re:Git Blame-Someone-Else by rurban on Sunday June 04, 2023 @08:21AM (#36185048)
Then do it via rebase -i and e. I do that constantly,
Re:Git Blame-Someone-Else by saagarjha on Tuesday June 06, 2023 @08:38AM (#36211711)
Yeah, but that's more annoying ;)