Neel Basu Neel Basu - 1 year ago 121
Git Question

git commit You have some suspicious patch lines

git commit
giving me the following message

* You have some suspicious patch lines:
* In projects/bong/traid/apps/controller/project.php
* trailing whitespace (line 220)
* trailing whitespace (line 223)

What does that mean ?

Answer Source

That happens when the file has trailing whitespace, if you run:

git commit --no-verify

it will commit ok. ref