File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ SYNOPSIS
10
10
[verse]
11
11
'git replace' [-f] <object> <replacement>
12
12
'git replace' [-f] --edit <object>
13
+ 'git replace' [-f] --graft <commit> [<parent>...]
13
14
'git replace' -d <object>...
14
15
'git replace' [--format=<format>] [-l [<pattern>]]
15
16
@@ -73,6 +74,13 @@ OPTIONS
73
74
newly created object. See linkgit:git-var[1] for details about
74
75
how the editor will be chosen.
75
76
77
+ --graft <commit> [<parent>...]::
78
+ Create a graft commit. A new commit is created with the same
79
+ content as <commit> except that its parents will be
80
+ [<parent>...] instead of <commit>'s parents. A replacement ref
81
+ is then created to replace <commit> with the newly created
82
+ commit.
83
+
76
84
-l <pattern>::
77
85
--list <pattern>::
78
86
List replace refs for objects that match the given pattern (or
You can’t perform that action at this time.
0 commit comments