git/list[1] front-page[2] threads[3] people[4] search[5] about
 

rebase and unmerged files

From
BLbill lam <cbill.lam@gmail.com>
Date
Jun 4, 2009, 01:54 UTC
Message-ID
<20090604015447.GB3873@debian.b2j>

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 崔顥  黃鶴樓
    昔人已乘黃鶴去  此地空餘黃鶴樓  黃鶴一去不復返  白雲千載空悠悠
    晴川歷歷漢陽樹  芳草萋萋鸚鵡洲  日暮鄉關何處是  煙波江上使人愁
Message 1 of 1 in “rebase and unmerged files”
  1. bill lamJun 4, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.