thienedits
thienedits

Reputation: 326

git commit error: invalid commit message

I've been searching Google and cannot find anything on this error.

Here is the full error:

git commit -m "update ui"                                        
INVALID COMMIT MSG: does not match "type scope: subject" ! was: "update ui"
Note: scope must be only letters.

Upvotes: 6

Views: 12545

Answers (1)

Eric
Eric

Reputation: 97555

You have a commit-msg hook on your system that is enforcing a format on your commit message. This is presumably company policy of some kind.

Upvotes: 18

Related Questions