3 ms·
git commit -n|--no-verify I have it in shell history, so it's somethig like "^R ver".
by throw_a_grenade 3y ago
git commit -n|--no-verify
I have it in shell history, so it's somethig like "^R ver".
- kevincox 3y agoBy the time I realize I should have done that I have already been inconvinced. Also remember to copy .git/COMMIT_EDITMSG before you run it so that you don't loose your message.
- throw_a_grenade 3y agogit config --global rebase.autoSquash true git commit --squash|--fixup <commit> git rebase -i origin/master # or whatever your remote/branch is https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---fixupamendrewordltcommitgt https://git-scm.com/docs/git-commit#Documentation/git-commit... Works wonders, but occasionally you screw up. To get out of screwup, use `git reflog` and `git reset --hard`.