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

Re: Confused about recovering from a merge conflict

From
D. Stuart Freeman <stuart.freeman@et.gatech.edu>
Date
May 29, 2008, 19:48 UTC
Message-ID
<483F0895.6040104@et.gatech.edu>
In-Reply-To
<c0f2d4110805290949m18822c3x15675bed83c7fa5@mail.gmail.com>

It was actually my boss that ran into this, he's using msysgit on XP. I'm not sure what service pack.

Chris Ortman wrote:
Show 43 quoted lines
> I am also running into this problem.
> Are you running windows+cygwin or git on linux?
> I am on XPSP2 and cygwin
> 
> On Wed, May 14, 2008 at 10:59 AM, D. Stuart Freeman
> <stuart.freeman@et.gatech.edu> wrote:
>> I've made some local modifications and want to 'git svn dcommit' them so
>> I 'git svn rebase' first:
>>
>>  $ git svn rebase
>>  First, rewinding head to replay your work on top of it...
>>  HEAD is now at cdef7ac Cleanup of new assignment screens
>>  Applying Cleanup new assignment screens
>>  error: tool/src/webapp/content/css/thickbox.css: does not match index
>>  error: patch failed:
>> tool/src/webapp/content/templates/newassignment1.html:6
>>  error: tool/src/webapp/content/templates/newassignment1.html: patch
>> does not apply
>>  Using index info to reconstruct a base tree...
>>  Falling back to patching base and 3-way merge...
>>  error: Entry 'tool/src/webapp/content/css/thickbox.css' not uptodate.
>> Cannot merge.
>>  fatal: merging of trees aa2dad90c89e9063f2a8002e4b5a11f6b1583955 and
>> 6535ebaaebf
>>  fdaadd44a93bc1fc4a66a5ec4dcf4 failed
>>  Failed to merge in the changes.
>>  Patch failed at 0001.
>>
>>  When you have resolved this problem run "git rebase --continue".
>>  If you would prefer to skip this patch, instead run "git rebase --skip".
>>  To restore the original branch and stop rebasing run "git rebase --abort".
>>
>>  rebase refs/remotes/iteration_5: command returned error: 1
>>
>> Uh-oh, now I appear to be on 'no branch' and the contents of
>> thickbox.css aren't marked up with the conflict markers, it appears to
>> just be the old file without my revisions.  Did I do something wrong?
>> How do I recover from this state?
>>
>> --
>> D. Stuart Freeman
>> Georgia Institute of Technology
>>
-- 
D. Stuart Freeman
Georgia Institute of Technology


begin:vcard
fn:D. Stuart Freeman
n:Freeman;Douglas
email;internet:stuart.freeman@et.gatech.edu
tel;work:(404)385-1473
x-mozilla-html:FALSE
version:2.1
end:vcard
Previous: Chris OrtmanNext: Chris Ortman
Message 3 of 4 in “Confused about recovering from a merge conflict”
  1. D. Stuart FreemanMay 14, 2008
  2. Chris OrtmanMay 29, 2008
  3. D. Stuart FreemanMay 29, 2008
  4. Chris OrtmanMay 30, 2008

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.