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
In this option, COMMIT_MSG_FILE is the path of the temporal file that contains the commit message.
57
-
This argument can be useful when cooperating with git hook, please check [Automatically check message before commit](./tutorials/auto_check.md) for more information about how to use this argument with git hook.
59
+
This argument can be useful when cooperating with git hook, please check [Automatically check message before commit](../tutorials/auto_check.md) for more information about how to use this argument with git hook.
Copy file name to clipboardExpand all lines: docs/commands/commit.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-

1
+

2
2
3
3
## About
4
4
@@ -7,13 +7,16 @@ In your terminal run `cz commit` or the shortcut `cz c` to generate a guided git
7
7
You can run `cz commit --write-message-to-file COMMIT_MSG_FILE` to additionally save the
8
8
generated message to a file. This can be combined with the `--dry-run` flag to only
9
9
write the message to a file and not modify files and create a commit. A possible use
10
-
case for this is to [automatically prepare a commit message](./tutorials/auto_prepare_commit_message.md).
10
+
case for this is to [automatically prepare a commit message](../tutorials/auto_prepare_commit_message.md).
11
11
12
12
13
13
!!! note
14
14
To maintain platform compatibility, the `commit` command disable ANSI escaping in its output.
15
15
In particular pre-commit hooks coloring will be deactivated as discussed in [commitizen-tools/commitizen#417](https://github.com/commitizen-tools/commitizen/issues/417).
Copy file name to clipboardExpand all lines: docs/tutorials/gitlab_ci.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ _Goal_: Bump a new version every time that a change occurs on the `master` branc
10
10
2. A developer creates a merge request (MR) against `master` branch
11
11
3. When the `MR` is merged into master, the 2 stages of the CI are executed
12
12
4. For simplification, we store the software version in a file called `VERSION`. You can use any file that you want as `commitizen` supports it.
13
-
5. The commit message executed automatically by the `CI` must include `[skip-ci]` in the message; otherwise, the process will generate a loop. You can define the message structure in [commitizen](../bump.md) as well.
13
+
5. The commit message executed automatically by the `CI` must include `[skip-ci]` in the message; otherwise, the process will generate a loop. You can define the message structure in [commitizen](../commands/bump.md) as well.
0 commit comments