• Stars
    star
    1,895
  • Rank 23,706 (Top 0.5 %)
  • Language
  • Created over 7 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

😁 git commit message emoji 使用指南

git commit emoji 使用指南

目录

执行 git commit 时使用 emoji 为本次提交打上一个 "标签", 使得此次 commit 的主要工作得以凸现,也能够使得其在整个提交历史中易于区分与查找。

截取的 gitmoji 快照:

gitmoji-snapshot

commit 格式

git commit 时,提交信息遵循以下格式:

:emoji1: :emoji2: 不超过 50 个字的摘要,首字母大写,使用祈使语气,句末不要加句号

提交信息主体

引用相关 issue 或 PR 编号 <#110>

初次提交示例:

git commit -m ":tada: Initialize Repo"

emoji 指南

emoji emoji 代码 commit 说明
🎉 (庆祝) :tada: 初次提交
🆕 (全新) :new: 引入新功能
🔖 (书签) :bookmark: 发行/版本标签
🐛 (bug) :bug: 修复 bug
🚑 (急救车) :ambulance: 重要补丁
🌐 (地球) :globe_with_meridians: 国际化与本地化
💄 (口红) :lipstick: 更新 UI 和样式文件
🎬 (场记板) :clapper: 更新演示/示例
🚨 (警车灯) :rotating_light: 移除 linter 警告
🔧 (扳手) :wrench: 修改配置文件
➕ (加号) :heavy_plus_sign: 增加一个依赖
➖ (减号) :heavy_minus_sign: 减少一个依赖
⬆️ (上升箭头) :arrow_up: 升级依赖
⬇️ (下降箭头) :arrow_down: 降级依赖
⚡ (闪电)
🐎 (赛马)
:zap:
:racehorse:
提升性能
📈 (上升趋势图) :chart_with_upwards_trend: 添加分析或跟踪代码
🚀 (火箭) :rocket: 部署功能
✅ (白色复选框) :white_check_mark: 增加测试
📝 (备忘录)
📖 (书)
:memo:
:book:
撰写文档
🔨 (锤子) :hammer: 重大重构
🎨 (调色板) :art: 改进代码结构/代码格式
🔥 (火焰) :fire: 移除代码或文件
✏️ (铅笔) :pencil2: 修复 typo
🚧 (施工) :construction: 工作进行中
🗑️ (垃圾桶) :wastebasket: 废弃或删除
♿ (轮椅) :wheelchair: 可访问性
👷 (工人) :construction_worker: 添加 CI 构建系统
💚 (绿心) :green_heart: 修复 CI 构建问题
🔒 (锁) :lock: 修复安全问题
🐳 (鲸鱼) :whale: Docker 相关工作
🍎 (苹果) :apple: 修复 macOS 下的问题
🐧 (企鹅) :penguin: 修复 Linux 下的问题
🏁 (旗帜) :checkered_flag: 修复 Windows 下的问题
🔀 (交叉箭头) :twisted_rightwards_arrows: 分支合并

如何在命令行中显示 emoji

默认情况下,在命令行中并不会显示出 emoji, 仅显示 emoji 代码。不过可以使用 emojify 使得在命令行也可显示 emoji, 它是一个 shell 脚本,安装与使用都很简单,在 这里 查看如何安装与使用。

emojify

参考

git commit emoji

write a good commit message

More Repositories

1

space-vim

🍀 Lean & mean spacemacs-ish Vim distribution
Vim Script
2,859
star
2

blockchain-tutorial

🌾 A step-by-step blockchain tutorial in simplified Chinese
Go
2,322
star
3

vim-clap

👏 Modern performant fuzzy picker, tree-sitter highlighting, and more, for both Vim and NeoVim
Rust
2,077
star
4

vim-which-key

🌷 Vim plugin that shows keybindings in popup
Vim Script
1,896
star
5

vista.vim

🌵 Viewer & Finder for LSP symbols and tags
Vim Script
1,832
star
6

space-vim-dark

💜 A dark colorscheme for space-vim, see space-vim-theme for light background support!
Vim Script
562
star
7

eleline.vim

🌿 Another elegant statusline for vim
Vim Script
311
star
8

dotfiles

🔩 Dotfiles for bash, zsh, tmux, emacs, vim, etc
Emacs Lisp
200
star
9

szuthesis

📝 SZU Undergraduate Thesis -- Recommender System
PostScript
188
star
10

space-vim-theme

🌼 A dark and light colorscheme for space-vim that supports GUI & terminal
Vim Script
163
star
11

vim-better-default

🎨 Simplify your .vimrc and make the default vim better
Vim Script
156
star
12

graphviz.vim

🎄 A Vim graphviz plugin
Vim Script
64
star
13

hands-on-learning

🌻 Learn by doing
Python
54
star
14

cluster-auto-installer

Hadoop/Spark/Hbase cluster auto-installer
Shell
17
star
15

nerdtree-dash

Extra syntax highlight for nerdtree and vim-devicons
Vim Script
16
star
16

pelican-blog

⛄ Foucs on Machine Learning and Data Mining
Jupyter Notebook
7
star
17

liuchengxu.github.io

🌻 Blog
HTML
3
star
18

memo

📝 Memo for me
TeX
2
star
19

blog-cn

🌸 Chinese blog
HTML
2
star
20

substrate-storage-key-value-decode

Rust
1
star