Skip to content

Instantly share code, notes, and snippets.

@yanmhlv
Created May 7, 2025 08:05
Show Gist options
  • Save yanmhlv/f3c445dbb5189914fcbcc022566082e4 to your computer and use it in GitHub Desktop.
Save yanmhlv/f3c445dbb5189914fcbcc022566082e4 to your computer and use it in GitHub Desktop.
🤖 Copilot commit messages instructions for VS Code

: --(max 50 chars)----->|

--(max 72 chars)------------------------------->|

--- COMMIT END --- Conventional commits (https://www.conventionalcommits.org/en/v1.0.0/#summary) feat (new feature) fix (bug fix) refactor (refactoring production code) style (formatting, missing semi colons, etc; no code change) doc (changes to documentation) test (adding or refactoring tests; no production code change) chore (updating grunt tasks etc; no production code change)

Guidelines:

  • Capitalize the subject line
  • Use the imperative mood in the subject line
  • Do not end the subject line with a period
  • Separate subject from body with a blank line
  • Use the body to explain what and why vs. how
  • Can use multiple lines with "-" for bullet points in body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment