git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Folding commits together
@ 2010-09-22 10:51 Maaartin
  2010-09-22 11:13 ` Matthieu Moy
  0 siblings, 1 reply; 4+ messages in thread
From: Maaartin @ 2010-09-22 10:51 UTC (permalink / raw)
  To: git

I've made a couple of trivial commits I'd like to fold into a single commit now. 
In the manpage of git-rebase I saw a recipe how to do it using rebase -i and it 
seemed quite trivial, but it doesn't work for me. I'm in a clean state on branch 
master and want fold the last 3 commits into one - this is probably the most 
trivial use case. Whatever I try I get an empty .git/rebase-merge/git-rebase-
todo, so I can't get to the point of using <<If you want to fold two or more 
commits into one, replace the command "pick" for the second and subsequent 
commits with "squash" or "fixup".>>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-09-22 19:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-22 10:51 Folding commits together Maaartin
2010-09-22 11:13 ` Matthieu Moy
2010-09-22 11:33   ` Maaartin
2010-09-22 19:25     ` Jay Soffian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).