Module: Git::Message
- Defined in:
- lib/git/message.rb,
lib/git/message/version.rb
Constant Summary collapse
- VERSION =
"0.1.6"
Class Method Summary collapse
Class Method Details
.showMessage ⇒ Object
31 32 33 34 35 |
# File 'lib/git/message.rb', line 31 def Message.showMessage print 'Enter the subject of your commit:' end |
.showScopeNote ⇒ Object
25 26 27 28 29 |
# File 'lib/git/message.rb', line 25 def Message.showScopeNote print 'Enter the scope of your commit:' end |
.showTypeOption ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/git/message.rb', line 6 def Message.showTypeOption puts <<EOF 1 feat: 新功能(feature) 2 fix: 修补bug 3 docs: 文档(documentation) 4 style: 格式(不影响代码运行的变动) 5 refactor:重构(即不是新增功能,也不是修改bug的代码变动) 6 test: 增加测试 7 chore: 构建过程或辅助工具的变动 8 debug: 调试的变更(仅作调试使用) EOF print 'Enter the type number of your commit:' end |