Skip to content

Instantly share code, notes, and snippets.

@c2b247
Forked from yifanzz/git-usage-prompt.md
Created January 31, 2025 00:59
Show Gist options
  • Select an option

  • Save c2b247/d5d397f4b0376096fc9cc04421f91ca8 to your computer and use it in GitHub Desktop.

Select an option

Save c2b247/d5d397f4b0376096fc9cc04421f91ca8 to your computer and use it in GitHub Desktop.
EP9 Notes

Git Usage

  • use the following prefixes for commit messages followed by a colon and a space:
    • "fix" for bug fixes
    • "feat" for new features
    • "perf" for performance improvements
    • "docs" for documentation changes
    • "style" for formatting changes
    • "refactor" for code refactoring
    • "test" for adding missing tests
    • "chore" for chore tasks
  • when determining the commit message prefix, pick the most relevant prefix from the list above
  • use lower case for commit messages
  • the commit message should also include a list of the changes made in the commit after the summary line if the changes are not self explanatory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment