Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用gitmoji来提交你的git commit吧 #2

Open
mytac opened this issue Nov 16, 2017 · 3 comments
Open

用gitmoji来提交你的git commit吧 #2

mytac opened this issue Nov 16, 2017 · 3 comments
Assignees

Comments

@mytac
Copy link
Owner

mytac commented Nov 16, 2017

我在逛github时,经常会看到像下面这样的提交记录,是不是很可爱(也很cool~~)
amazing commit
使用gitmoji来编写commit,使每次的commit能够更加直观,维护起来也更加方便:

我总结了一下经常会用到的gitmoji,以及他用来代表的提交类型,如下表所示:

表情 代码 代表内容
🎨 :art: 优化代码结构或格式
:zap: 提升性能
🔥 :fire: 移除代码或文件
🔧 :wrench: 修改配置文件
🐛 :bug: 修复bug
🚑 :ambulance: 修复关键程序
:sparkles: 介绍新功能
📝 :memo: 写文档
🚀 :rocket: 部署项目
💄 :lipstick: 更新UI和样式文件
🎉 :tada: 初始提交
:white_check_mark: 添加测试
🔒 :lock: 解决安全问题
🍎 :apple: 修复macOS上的东西
🐧 :penguin: 在Linux上修复一些东西
🏁 :checkered_flag: 修复Windows上的东西
🤖 :robot: 解决Android上的东西
🍏 :green_apple: 解决iOS上的东西
🔖 :bookmark: 发布/版本标签
🚨 :rotating_light: 删除linter警告
🚧 :construction: 未完工程
💚 :green_heart: 修复CI构建
⬇️ :arrow_down: 降级依赖
⬆️ :arrow_up: 升级依赖
👷 :construction_worker: 添加CI构建系统
📈 :chart_with_upwards_trend: 添加分析或跟踪代码
🔨 :hammer: 重构代码
:heavy_plus_sign: 添加依赖
:heavy_minus_sign: 删除依赖
✏️ :pencil2: 修正错别字
💩 :hankey: 编写需要改进的不好的代码
:rewind: 恢复更改
🔀 :twisted_rightwards_arrows: 合并分支
📦 :package: 更新编译的文件或包
👽 :alien: 由于外部API更改而更新代码
🚚 :truck: 移动或重命名文件
📄 :page_facing_up: 添加或更新许可证
💥 :boom: 介绍突破性变化
🍱 :bento: 添加或更新静态资源
👌 :ok_hand: 由于代码审阅更改而更新代码
:wheelchair: 改善无障碍
💡 :bulb: 记录源代码
💬 :speech_balloon: 更新文本或字面量
🗃️ :card_file_box: 执行与数据库相关的更改
🔊 :loud_sound: 添加日志
🔇 :mute: 删除日志
👥 :busts_in_silhouette: 添加贡献者
🚸 :children_crossing: 改善用户体验/可用性
@youling4438
Copy link

没有使用方法? @

@youling4438
Copy link

git commit -m " 🐛 fix xxx bug"

@la-mine
Copy link

la-mine commented Jul 23, 2020

git commit -m ":bug: fix my bug"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@mytac @youling4438 @la-mine and others