@@ -30,15 +30,33 @@ Sometimes we, the developers, go _full-loco_ while programming and make mistakes
3030
3131## Screenshots
3232
33- <div style =" margin-right :auto ;margin-left :auto ;" >
34- <img src="assets/commit.gif"/>
35- <img src="assets/--tudo.gif"/>
36- <img src="assets/--co-author.gif"/>
37- <img src="assets/--debug.gif"/>
38- <img src="assets/--no-file.gif"/>
39- <img src="assets/--convention.gif"/>
40- </div >
33+ ### Initial commit
4134
35+ <img src =" " style =" min-width :200px ;margin-left :auto ;margin-right :auto ;" />
36+
37+ ### Normal commit
38+
39+ <img src =" " style =" min-width :200px ;margin-left :auto ;margin-right :auto ;" />
40+
41+ ### Co-authored commit
42+
43+ <img src =" " style =" min-width :200px ;margin-left :auto ;margin-right :auto ;" />
44+
45+ ### Fast commit
46+
47+ <img src =" " style =" min-width :200px ;margin-left :auto ;margin-right :auto ;" />
48+
49+ ### Debugging and commiting
50+
51+ <img src =" " style =" min-width :200px ;margin-left :auto ;margin-right :auto ;" />
52+
53+ ### All-in-one commit
54+
55+ <img src =" " style =" min-width :200px ;margin-left :auto ;margin-right :auto ;" />
56+
57+ ### Getting help for writing in a convention
58+
59+ <img src =" " style =" min-width :200px ;margin-left :auto ;margin-right :auto ;" />
4260
4361
4462## Installation
@@ -56,21 +74,27 @@ will show you the usage and options for your commit. All of them are optional
5674for the sake of not losing your precious time.
5775
5876``` bash
59- $ commit -h
60- usage: generator.py [-h] [--co-author CO_AUTHOR] [--no-generate NO_FILE]
61- [--convention {angular,changelog,symphony,message}]
62-
63- A commit formatter tool to help you follow commit conventions.
64-
65- optional arguments:
66- -h, --help show this help message and exit
67- -ca, --co-author CO_AUTHOR
68- make your friend an co-author to the commit
69- -nf, --no-file
70- disables the creation of a commiter.yml file
71- -c, --convention {angular,changelog,symphony,message}
72- Selects a convention to be used for the commit.
73- Required if there is no commiter.yml file.
77+ $ commit -h
78+ usage: commit [-h] [-t TAG] [-m MESSAGE] [-ct CONTEXT] [-ca CO_AUTHOR] [-nf]
79+ [-c {angular,karma,tagged,symphony,message}] [-d]
80+
81+ A commit formatter tool to help you follow commit conventions.
82+
83+ optional arguments:
84+ -h, --help show this help message and exit
85+ -t TAG, --tag TAG Pass your commit tag directly
86+ -m MESSAGE, --message MESSAGE
87+ Pass your commit message directly
88+ -ct CONTEXT, --context CONTEXT
89+ Pass your commit context directly
90+ -ca CO_AUTHOR, --co-author CO_AUTHOR
91+ Make your friend an co-author to the commit
92+ -nf, --no-file Disables the creation of a commiter.yml file
93+ -c {angular,karma,tagged,symphony,message}, --convention {angular,karma,tagged,symphony,message}
94+ Selects a convention to be used for the commit.
95+ Required if there' s no commiter.yml file.
96+ -d, --debug Toggles debug option
97+
7498```
7599
76100So, if you want to write a co-authored commit, you should use:
@@ -82,7 +106,7 @@ $ commit --co-author "foo bar doritous <foobar@douritos.com>"
82106Or if you are using this for the first time in your project:
83107
84108```bash
85- $ commit --convention changelog
109+ $ commit --convention tagged
86110```
87111
88112To work even more smoothly, have in your working directory a file named **commiter.yml**. In this file you must pass the commit convention that you want to use, following the example:
@@ -96,7 +120,7 @@ convention: karma # tag(context): commit message
96120
97121# or
98122
99- convention: changelog # TAG: commit message
123+ convention: tagged # TAG: commit message
100124
101125# or
102126
@@ -121,9 +145,9 @@ Supported conventions available:
121145
122146 - angular
123147 - karma
124- - changelog
148+ - tagged
125149 - symphony
126- - a custom one that you may invent ; )
150+ - a custom one that you may create : )
127151
128152 # # Troubleshooting
129153 If after you' ve installed commit-helper the `commit` or `commit-helper` commands are not usable at the command line, check if `$HOME/.local/bin` is on your PATH. If not, add it on your .bashrc file by running:
0 commit comments