git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to squash two commits into only one
@ 2011-03-29  5:42 Lynn Lin
       [not found] ` <AANLkTi=PZY2d+NhNnnOyXMX70N31vRg3qS5er+hECy8A@mail.gmail.com>
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Lynn Lin @ 2011-03-29  5:42 UTC (permalink / raw)
  To: git

All,
   I have only have two commits in repo,then I want to squash these
two commit into one through git rebase -i .However it fails

$ git rebase -i HEAD^1
it only show up one commit so can't squash (can't squash without a
previous commit)


Any help on this?

Thanks
Lynn

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

end of thread, other threads:[~2011-03-30 19:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-29  5:42 how to squash two commits into only one Lynn Lin
     [not found] ` <AANLkTi=PZY2d+NhNnnOyXMX70N31vRg3qS5er+hECy8A@mail.gmail.com>
2011-03-29  6:04   ` Lynn Lin
2011-03-29  6:15 ` Tor Arntsen
2011-03-29  8:24   ` Lynn Lin
2011-03-29  8:50     ` Tor Arntsen
2011-03-29  9:38 ` Alex Riesen
2011-03-29 10:10   ` Lynn Lin
2011-03-29 10:58     ` Alex Riesen
2011-03-29 12:44       ` Joshua Juran
2011-03-29 12:49         ` Nguyen Thai Ngoc Duy
2011-03-29 13:12           ` Joshua Juran
2011-03-29 15:02             ` Will Palmer
2011-03-29 18:28           ` Junio C Hamano
2011-03-30 19:22             ` Dirk Süsserott

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).