Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
adimitrov
· 15y ago · 0 comments
You don't really need '-C HEAD' at all. The default behavior is to just reuse the last commit message, which is, implicitly, HEAD.
Comments
[–]
cmurphycode
15y ago
That doesn't work for me. git commit -a --amend prompts for commit message in $editor git commit -a --amend -C complains about lack of input
Maybe this is a git version specific thing.