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
Copy file name to clipboardexpand all lines: README.md
+15-13
Original file line number
Diff line number
Diff line change
@@ -78,30 +78,32 @@ setup(
78
78
)
79
79
```
80
80
81
-
### Adding pre-commit message lint
81
+
### Adding pre-commit message CLI
82
82
83
-
The semantic-release `pre-commit message lint` will validate your commit messages before the commit being accepted.
84
-
That will prevent you from having to rebase your commit history to adapt your commit messages to semantic-release standards.
83
+
The `pre-commit` will validate your commit messages before the commit being accepted.
84
+
That will prevent you from having to rebase your commit history to adapt your commit messages to [semantic-release](https://github.com/NeowayLabs/semantic-release) standards.
85
85
86
-
Notes:
87
-
1. To activate commit message template in a pre-existing local repository, go to the project root folder and run `git init` command.
88
-
2. After `make commit-message-install`, Git will automatically activate commit message template to new cloned projects.
If for some reason you need to skip commit lint, you can run git commit with the `--no-verify` tag as follows.
97
-
98
96
```
99
-
git commit -m "type: [typo], message: We do not recommend doing this!" --no-verify
97
+
make install
100
98
```
101
99
102
-
We do not recommind using `--no-verify` for projects that use [commit lint ci step](#how-to-add-commit-lint-stage-to-gitlab) once it will validate all the branche commit messages.
100
+
**How to use it?**
101
+
102
+
After adding new changes with the `git add` command, you can run `commit` on any git project root path and follow CLI steps.
103
103
104
-
If at least one commit message breaks semantic-release standards, you'll have to rebase and reword the wrong commit messages.
0 commit comments