Re: git-svn clone duplicates content

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Björn
Date: Thursday, March 13, 2008 - 4:30 am

On 2008.03.13 10:52:15 +0100, martin f krafft wrote:

The "fetch" part of git-svn will create a master branch if it doesn't
exist(*) and makes it point to whatever branch was last fetched. In your
case, it seems that the last change on the svn side was to create tag
0.4-5, so master pointed to that one.

As things are, a "git reset --hard remotes/trunk" (or wherever you want
your master to descend from) is pretty mandatory after git svn clone.
The example in the man page "kind of" mentions that. ;-)

Björn

(*) Which can be a bit "surprising", because even if you don't want a
    master branch and deleted the original one, the next fetch will
    create a new one.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git-svn clone duplicates content, martin f krafft, (Thu Mar 13, 2:52 am)
Re: git-svn clone duplicates content, Björn, (Thu Mar 13, 4:30 am)
Re: git-svn clone duplicates content, martin f krafft, (Thu Mar 13, 4:36 am)