loading...

re: Easily auto-squash changes to previous commit VIEW POST

TOP OF THREAD FULL DISCUSSION
re: git commit also has a --no-edit flag that is very useful for --ammend. I have 3 aliases for --ammend in my .gitconfig: ca = commit --amend ...
 

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.

Code of Conduct Report abuse