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

Re: git svn rebase - could not detach HEAD

From
Björn Steinbrink <b.steinbrink@gmx.de>
Date
Aug 7, 2008, 07:41 UTC
Message-ID
<20080807074117.GA7648@atjola.homenet>
In-Reply-To
<f7d8f60b0808070033g7a322ee4w9147dd51e41850c6@mail.gmail.com>
On 2008.08.07 19:33:36 +1200, Tony Stubbs wrote:
Show 5 quoted lines
> Ok, woah. that's really weird... note the strange behaviour of
> git-clean (i had my ide open, then clossed it. but it still acted
> strange)
> 
> that seems to have got it. so are you going to apply that patch to git proper?
It already is.
Show 17 quoted lines
> stubbsa@VFNZV95336 /cygdrive/c/dev
> $ git clean -df
> Removing Utilities/.apt_src/
> Removing Utilities/build/
> 
> stubbsa@VFNZV95336 /cygdrive/c/dev
> $ git clean -df
> 
> stubbsa@VFNZV95336 /cygdrive/c/dev
> $ git rebase git-svn
> First, rewinding head to replay your work on top of it...
> error: Untracked working tree file
> 'webnonline-db-access/target/hanson-db-access-1.0.jar' would be
> overwritten by merge.
> could not detach HEAD
> 
> <manually deleted "untracked file" here>

Maybe you're ignoring that file? git clean deletes ignored files only if you use -x/-X.

Björn
Previous: Tony StubbsNext: Tony Stubbs
Message 5 of 7 in “git svn rebase - could not detach HEAD”
  1. Tony StubbsAug 7, 2008
  2. Tony StubbsAug 7, 2008
  3. Junio C HamanoAug 7, 2008
  4. Tony StubbsAug 7, 2008
  5. Björn SteinbrinkAug 7, 2008
  6. Tony StubbsAug 7, 2008
  7. Daniel BarkalowAug 7, 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.