Created
February 17, 2011 22:55
-
-
Save shanaver/832922 to your computer and use it in GitHub Desktop.
git - error with commit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if you get the following error: | |
"You have some suspicious patch lines" | |
You can either commit again with this added "--no-verify" | |
or disable the pre-commit hook in your commit file here : .git/hooks/pre-commit | |
To do this comment out the following line: | |
if (/\s$/) { | |
bad_line("trailing whitespace", $_); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment