/ Published in: Bash
So we use Gerrit for code reviewing and I run git commit --amend quite a bit, a lot of times I don\\'t want to amend the message I just want to add my new files to my existing commit and keep working, this makes that part easier. Just add this to your global .gitconfig file. Now you can just run git amend after staging your files and it won\'t ask you to edit the message.
Expand |
Embed | Plain Text
[alias] amend = commit --amend -C HEAD
You need to login to post a comment.
