1 min read

VS Code supports long commit message

In VS Code, it your commit message exceeds 50 characters, it shows a warning.

First, this is only a warning - you can keep typing the text and push that commit.

Second, this “max length” is only a VS Code setting that you can change to any number. The setting id is git.inputValidationSubjectLength. ❇️

You can find the setting by going to Settings and search for git commit length. See the property “Git: Input Validation Subject Length”, change from 50 to 100. For example, "git.inputValidationSubjectLength": 100.