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
@@ -30,14 +30,13 @@ commit that you can amend changes into later using `but mark`, `but rub` or `but
30
30
Insert a blank commit before or after the specified commit.
31
31
32
32
This is useful for creating a placeholder commit that you can
33
-
then amend changes into later using `but mark`, `but rub` or `but absorb`.
33
+
then amend changes into later using `but rub` or `but absorb`.
34
34
35
-
You can modify the empty commit message at any time using `but reword`.
35
+
You can provide a message with `-m` or modify it later using `but reword`.
36
36
37
37
This allows for a more Jujutsu style workflow where you create commits
38
-
first and then fill them in as you work. Create an empty commit, mark it
39
-
for auto-commit, and then just work on your changes. Write the commit
40
-
message whenever you prefer.
38
+
first and then fill them in as you work. Create an empty commit and
39
+
then rub or absorb changes into it whenever you prefer.
41
40
42
41
## Examples
43
42
@@ -77,12 +76,15 @@ If a target is provided without --before or --after, defaults to --before behavi
77
76
78
77
*`--before``<BEFORE>` — Insert the blank commit before this commit or branch
79
78
*`--after``<AFTER>` — Insert the blank commit after this commit or branch
79
+
*`-m`, `--message``<MESSAGE>` — Commit message for the inserted blank commit
80
80
81
81
## Options
82
82
83
83
*`-m`, `--message``<MESSAGE>` — Commit message
84
84
*`--message-file``<FILE>` — Read commit message from file
85
85
*`-c`, `--create` — Whether to create a new branch for this commit. If the branch name given matches an existing branch, that branch will be used instead. If no branch name is given, a new branch with a generated name will be created
86
+
*`--before``<BEFORE>` — Insert the commit before this commit or branch
87
+
*`--after``<AFTER>` — Insert the commit after this commit or branch
86
88
*`-o`, `--only` — Only commit staged files, not unstaged files
87
89
*`-a`, `--all` — No-op compatibility flag for git commit -a
0 commit comments