Thread (7 messages) flat view 7 messages, 3 authors, 2016-08-11

Re: [PATCH v1 3/3] Documentation: replace: add --graft option

From: Jakub Narębski <hidden>
Date: 2016-08-11 17:46:34

W dniu 2014-05-22 23:33, Christian Couder pisze:
+--graft <commit> [<parent>...]::
+	Create a graft commit. A new commit is created with the same
+	content as <commit> except that its parents will be
+	[<parent>...] instead of <commit>'s parents. A replacement ref
+	is then created to replace <commit> with the newly created
+	commit.
+
  -l <pattern>::
  --list <pattern>::
  	List replace refs for objects that match the given pattern (or
Here I think you can add the graft replacing example:

   cat .git/info/grafts | while read line
   do git replace --graft $line; done

-- 
Jakub Narębski
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help