Skip to content

Instantly share code, notes, and snippets.

@YutoMizutani
Created April 15, 2018 13:02
Show Gist options
  • Save YutoMizutani/88366ffdeb4a42cf7d0e0dee570513f3 to your computer and use it in GitHub Desktop.
Save YutoMizutani/88366ffdeb4a42cf7d0e0dee570513f3 to your computer and use it in GitHub Desktop.
An agreement of a commit message with emoji
💎 :gem: Release バージョン更新
✨ :sparkles: 部分的な機能追加
🎉 :tada: 盛大に祝うべき大きな機能追加
🎨 :art: when improving the format/structure of the code コードの書式/構造を「改善」するとき
📁 :file_folder: when adding source files without codes (e.g. images, musics) コード以外のファイルを追加したとき
🐎 :racehorse: when improving performance パフォーマンスを向上させるとき
🚱 :non-potable_water: when plugging memory leaks メモリリークを塞ぐとき
😡 :rage: when breaking codes 破壊されているコードをあげるとき
📝 :memo: when writing docs ドキュメントを書くとき
📱 :iphone: when fixing something on iPhone iPhoneで何かを修正するとき
📓 :notebook: when fixing something on iPad iPadで何かを修正するとき
💻 :computer: when fixing something on MacComputer MacComputerで何かを修正するとき
🐛 :bug: when fixing a bug バグを修正するとき
🔥 :fire: when removing code or files コードまたはファイルを削除するとき
💚 :green_heart: when fixing the CI build CIビルドを修正するとき
✅ :white_check_mark: when adding tests テストを追加するとき
🔒 :lock: when dealing with security セキュリティを扱うとき
⬆️ :arrow_up: when upgrading dependencies 依存関係をアップグレードするとき
⬇️ :arrow_down: when downgrading dependencies 依存関係をダウングレードするとき
👕 :shirt: when removing linter warnings リンターの警告を取り除くとき
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 after the first line
When only changing documentation, include [ci skip] in the commit title
Consider starting the commit message with an applicable emoji:
// https://github.com/atom/atom/blob/master/CONTRIBUTING.md#git-commit-messages
// https://gist.github.com/nownabe/85d8595fd142adc426fbfaf2bab015e0
// http://pronama.azurewebsites.net/2015/06/20/github-emoji-commit-message/
// https://www.webpagefx.com/tools/emoji-cheat-sheet/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment