You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using git commit and my editor vim to add next to the subject line a body. After saving the commit message commit-lint rules declined the message.
Is there a way to retrieve the previous message easily and amend changes to make it pass the commit lint rules ?
The text was updated successfully, but these errors were encountered:
We could set the git template in the git configuration but that's not what that property is meant for. git commit clears the COMMIT_EDITMSG file, the prepare-commit-msg hook could read out the message from a file (that is otherwise lose because of a precommit error) from a file and insert it in the COMMIT_EDITMSG file
I was using
git commit
and my editorvim
to add next to the subject line a body. After saving the commit message commit-lint rules declined the message.Is there a way to retrieve the previous message easily and amend changes to make it pass the commit lint rules ?
The text was updated successfully, but these errors were encountered: