Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gilnaa
· 4y ago · 0 comments
EDITOR=true is clever! Git has --no-edit as well, btw
Comments
[–]
masklinn
4y ago
And usefully it also has `-e` (`--edit`), so you can create an alias of
amend = commit —-amend —-no-edit
and if you need to edit the commit message alongside merging new changes in HEAD,
> git amend -e