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

Re: git svn rebase - could not detach HEAD

From
Tony Stubbs <antony.stubbs@gmail.com>
Date
Aug 7, 2008, 07:19 UTC
Message-ID
<f7d8f60b0808070019v2850f493md9d75df03f98dc3b@mail.gmail.com>
In-Reply-To
<f7d8f60b0808062349q92fffb9l33de5550250e4e13@mail.gmail.com>
Some more info...:

stubbsa@VFNZV95336 /cygdrive/c/dev $ git merge-base HEAD git-svn 5bfad5dee44fd18f7c3a39e7dcb234828c840c24

commit 5bfad5dee44fd18f7c3a39e7dcb234828c840c24
Author: boses <boses@c07779a9-5238-0410-8e60-f4d13a72d009>
Date:   Thu Aug 7 01:28:44 2008 +0000
    Siebel Java Interface Merged
    git-svn-id:
http://10.107.6.150/repos/portal/oasis/branches/oasis-cr@3273
c07779a9-5238-0410-8e60-f4d13a72d009
$ git branch -a
  emailTemplateWork
  hibernate
  integration
* master
  git-svn
  git-svn@1775
  git-svn@2473
  laptop/emailTemplateWork
  laptop/hibernate
  laptop/master
  temp/master

stubbsa@VFNZV95336 /cygdrive/c/dev $ git checkout hibernate Switched to branch "hibernate"

stubbsa@VFNZV95336 /cygdrive/c/dev $ git checkout master Checking out files: 100% (295/295), done. Switched to branch "master"

stubbsa@VFNZV95336 /cygdrive/c/dev $ git svn rebase First, rewinding head to replay your work on top of it... could not detach HEAD rebase refs/remotes/git-svn: command returned error: 1

stubbsa@VFNZV95336 /cygdrive/c/dev $ git rebase fatal: Needed a single revision invalid upstream

stubbsa@VFNZV95336 /cygdrive/c/dev $ git rebase git-svn First, rewinding head to replay your work on top of it... could not detach HEAD

2008/8/7 Tony Stubbs <antony.stubbs@gmail.com>:
Show 29 quoted lines
> Having trouble rebasing against svn off a clean repo.
>
> I am using windows / cygwin.
>
> Here's the output:
>
> stubbsa@VFNZV95336 /cygdrive/c/dev
> $ git status
> # On branch master
> nothing to commit (working directory clean)
>
> stubbsa@VFNZV95336 /cygdrive/c/dev
> $ git svn rebase
> First, rewinding head to replay your work on top of it...
> could not detach HEAD
> rebase refs/remotes/git-svn: command returned error: 1
>
>
> stubbsa@VFNZV95336 /cygdrive/c/dev
> $
>
> I already tried asking on the channel...
> Any ideas? I'm kind of stuck as I have commits I need to dcommit.
>
> p.s. git stash also shows:
> stubbsa@VFNZV95336 /cygdrive/c/dev
> $ git stash
> No local changes to save
>
-- 
___________________________
http://stubbisms.wordpress.com/
Previous: Tony StubbsNext: Junio C Hamano
Message 2 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.