Git Commit Templates

git
workflow
productivity
GIgitmaster

Description

Standardized git commit message templates following conventional commits specification. Helps maintain consistent commit history.

json
{
  "rules": [
    {
      "name": "Conventional Commit",
      "pattern": "COMMIT_EDITMSG",
      "commands": [
        {
          "title": "Insert Conventional Commit Template",
          "command": "editor.action.insertSnippet",
          "args": {
            "snippet": "${1|feat,fix,docs,style,refactor,perf,test,build,ci,chore,revert|}(${2:scope}): ${3:subject}\n\n${4:body}\n\n${5:footer}"
          },
          "when": "editorTextFocus"
        }
      ]
    }
  ]
}