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
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ Note: Do NOT install `gptcommit` hook via `gptcommit install` under the root of
18
18
| < 0.1.0 | 1.75+ | 0.1.16 |
19
19
| 0.1.x | 1.70+ | 0.1.16 |
20
20
| 0.2.x | 1.70+ | 0.3.0 |
21
+
| 0.3.x | 1.70+ | 0.5.x |
21
22
22
23
## Commands
23
24
@@ -35,10 +36,20 @@ Run via `Ctrl+Shift+P` or `Cmd+Shift+P`:
35
36
-`GPTCommit: Set output language`
36
37
Set the output language. Default is `en`.
37
38
39
+
-`GPTCommit: Show per-file summary`
40
+
Enable "show per-file summary"? It's disabled by default.
41
+
42
+
-`GPTCommit: Disable conventional commit`
43
+
Disable "conventional commit"? It's enabled by default.
44
+
45
+
-`GPTCommit: Open gptcommit configuration file`
46
+
Open the local gptcommit configuration file (~/.git/gptcommit.toml)
47
+
38
48
## Extension Settings
39
49
40
50
-`ExpressMode`: If true, generated message will be filled into the Source Control commit message input box directly, instead of opening a new editor.
41
51
-`ExpressModeContent`: Content of the message to fill in the express mode.
52
+
- Note that to show per-file summary, you need to enable "show per-file summary" by running the `GPTCommit: Show per-file summary` command.
42
53
-`GptcommitPath`: Path to the `gptcommit` executable.
43
54
-`OnFiles`: Diff of files to use for generating the commit message.
44
55
-`staged`: Use staged files
@@ -47,7 +58,7 @@ Run via `Ctrl+Shift+P` or `Cmd+Shift+P`:
47
58
48
59
## Advanced configuration
49
60
50
-
Note that now all the configuration via the extension is saved in the `.git/gptcommit.toml` file. If you have to change advanced configuration, you can edit the `.git/gptcommit.toml` file directly, but make sure you know what you are doing.
61
+
Note that now all the configuration via the extension is saved in the `.git/gptcommit.toml` file. If you have to change advanced configuration, you can edit the `.git/gptcommit.toml` file directly, but make sure you know what you are doing. You can also use the `GPTCommit: Open gptcommit configuration file` command to open the configuration file.
51
62
52
63
If you want to use the configuration globally, you can copy the `.git/gptcommit.toml` file to `~/.config/gptcommit/config.toml`, or just the sections of the configuration you want to be used globally.
0 commit comments