You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -34,7 +34,41 @@ Just follow the commands below:
34
34
35
35
## Usage and configuration
36
36
37
-
For this project to work smoothly, you must 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:
37
+
This program has a cli that you can take advantage of. Running `commit --help`
38
+
will show you the usage and options for your commit. All of them are optional
A commit formatter tool to help you follow commit conventions.
47
+
48
+
optional arguments:
49
+
-h, --help show this help message and exit
50
+
--co-author CO_AUTHOR
51
+
make your friend an co-author to the commit
52
+
--no-generate NO_FILE
53
+
disables the creation of a commiter.yml file
54
+
--convention {angular,changelog,symphony,message}
55
+
Selects a convention to be used for the commit.
56
+
Required if there is no commiter.yml file.
57
+
```
58
+
59
+
So, if you want to write a co-authored commit, you should use:
60
+
61
+
```bash
62
+
$ commit --co-author "foo bar doritous <foobar@douritos.com>"
63
+
```
64
+
65
+
Or if you are using this forthe first timein your project:
66
+
67
+
```bash
68
+
$ commit --convention changelog
69
+
```
70
+
71
+
To 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:
0 commit comments