Skip to content

Instantly share code, notes, and snippets.

@MadcapJake
Last active January 26, 2016 15:10
Show Gist options
  • Save MadcapJake/04a32b4e903a1ae0774e to your computer and use it in GitHub Desktop.
Save MadcapJake/04a32b4e903a1ae0774e to your computer and use it in GitHub Desktop.
Git Commit Message Guidelines

Git Commit Messages

  • Use the present tense ("Add feature" not "Added feature")
  • Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
  • Limit the first line to 72 characters or less
  • Reference issues and pull requests liberally
  • Consider starting the commit message with an applicable emoji:
    • 🎨 :art: when improving the format/structure of the code
    • πŸ’‘ :bulb: when working on a new idea
    • 🚧 :construction: when working on something highly unfinished
    • 🐎 :racehorse: when improving performance
    • 🚱 :non-potable_water: when plugging memory leaks
    • ✏️ :pencil2: when writing docs
    • 🐧 :penguin: when fixing something on Linux
    • 🍎 :apple: when fixing something on Mac OS
    • 🏁 :checkered_flag: when fixing something on Windows
    • πŸ› :bug: when fixing a bug
    • πŸ”₯ :fire: when removing code or files
    • πŸ”ˆ when adding logging
    • πŸ”‡ when reducing logging
    • πŸ’š :green_heart: when fixing the CI build
    • βœ… :white_check_mark: when adding tests
    • πŸ”’ :lock: when dealing with security
    • βž• :heavy_plus_sign: when adding feature
    • βž– :heavy_minus_sign: when removing feature
    • ⬆️ :arrow_up: when upgrading dependencies
    • ⬇️ :arrow_down: when downgrading dependencies
    • πŸ‘• :shirt: when removing linter warnings
    • 🚿 :shower: when cleaning files of comments, adding to gitignore, etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment