Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
saagarjha
· 3y ago · 0 comments
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.
Comments
[–]
ahrzb
3y ago
But changing commit author is quite easy with git, just do: ‘git commit -a —author “<name+email>”’
[–]
saagarjha
OP
3y ago
I often need to change the author on commits that aren't the topmost one.
[–]
rurban
3y ago
Then do it via rebase -i and e. I do that constantly,
[–]
saagarjha
OP
3y ago
Yeah, but that's more annoying ;)