I hadn't noticed the no-edit flag. So basically in this case it would be like --amend -C HEAD. I like to use rebase alot, but indeed in this case amend would be simpler.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
git commit also has a --no-edit flag that is very useful for --ammend. I have 3 aliases for --ammend in my .gitconfig:
I hadn't noticed the no-edit flag. So basically in this case it would be like
--amend -C HEAD
. I like to use rebase alot, but indeed in this case amend would be simpler.