6

Im am using VS Code to write commit messages. When I type git commit -a VS Code starts up with this text:

# Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch assi # Changes to be committed: # modified: Default_Navigation.cs # 

is it possible to change this template?

2

1 Answer 1

7

git config commit.template /absolute/path/to/template_file seems to be the way to go. Check out How to specify a git commit message template for a repository in a file at a relative path to the repository?

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.