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-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
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).
0 commit comments