File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ SYNOPSIS
1010[verse]
1111'git replace' [-f] <object> <replacement>
1212'git replace' [-f] --edit <object>
13+ 'git replace' [-f] --graft <commit> [<parent>...]
1314'git replace' -d <object>...
1415'git replace' [--format=<format>] [-l [<pattern>]]
1516
@@ -73,6 +74,13 @@ OPTIONS
7374 newly created object. See linkgit:git-var[1] for details about
7475 how the editor will be chosen.
7576
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+
7684-l <pattern>::
7785--list <pattern>::
7886 List replace refs for objects that match the given pattern (or
You can’t perform that action at this time.
0 commit comments