Re: git-svn clone on a central server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 15, 2008 at 3:38 PM, Bruno Harbulot
<Bruno.Harbulot@xxxxxxxxxxxxxxxx> wrote:
>  I'm trying to follow example 3 of the git-svn manpage, since I'd like to
>  keep a "central" clone of a subversion repository (and rebase it
>  regularly) on a server and work on local git repositories based on that
>  server's git repository.
...
>  I get this error:
>
>  $ git-svn rebase
>  fatal: ambiguous argument 'HEAD': unknown revision or path not in the
>  working tree.

You have to git reset --hard <branch> to create 'master' based on a
particular svn branch, or git-svn won't know what to rebase.

I sent a documentation patch to this list back in February, but it
appears to have been dropped. I should probably re-send it...

http://article.gmane.org/gmane.comp.version-control.git/72954

Peter Harris
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux