git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rebase and unmerged files
@ 2009-06-04  1:54 bill lam
  0 siblings, 0 replies; only message in thread
From: bill lam @ 2009-06-04  1:54 UTC (permalink / raw)
  To: git

I tried to cleanup commit mistake and use rebase -i. It stopped and
sha1 and generated a list of unmerge files.  My intention was to use
the version in sha1 but with some editing.  Since all those unmerge
files contained unresolved conflict delineated by

<<<<<<
HEAD
=======
sha1
>>>>>>>

I have to manually type commands such as
git checkout sha1 -- file1
to get the version I wanted for further editing.  Is there any easier
method that can automating checkout all those sha1 version of the
unmerged files.

Also, for git-commit during rebase, should I use 
git commit --amend
or just
git commit

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩170 崔顥  黃鶴樓
    昔人已乘黃鶴去  此地空餘黃鶴樓  黃鶴一去不復返  白雲千載空悠悠
    晴川歷歷漢陽樹  芳草萋萋鸚鵡洲  日暮鄉關何處是  煙波江上使人愁

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-04  1:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-04  1:54 rebase and unmerged files bill lam

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