Tagged: commiting

How to skip or bypass a pre commit hook in git 0

How to skip or bypass a pre commit hook in git

Lets say that you configured a commit hook like running a jshint, or some other code quality checker. But for some reason, at this point, you just want to commit even though the precommit...

How to abort a git commit amend 0

How to abort a git commit amend

Sometimes you issue a git commit –amend only to realize that you didnt really mean to amend the previous commit. You’d rather save your changes as a new commit. This can happen under many...

How to change previous commit message and contents 0

How to change previous commit message and contents

Sometimes you just make a commit and realize that the commit message could have been better. Or that you forgot to add a file. Maybe you just made a commit and then saw that...