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

Re: git-svn clone duplicates content

From
MKmartin f krafft <madduck@madduck.net>
Date
Mar 13, 2008, 11:36 UTC
Message-ID
<20080313113621.GA13221@piper.oerlikon.madduck.net>
In-Reply-To
<20080313113013.GA31522@atjola.homenet>
also sprach Björn Steinbrink <B.Steinbrink@gmx.de> [2008.03.13.1230 +0100]:
> 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.
That makes sense.
> 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.
> ;-)
I saw that a bit later too. Thanks for the explanation regardless!
-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"and if the cloud bursts, thunder in your ear
 you shout and no one seems to hear
 and if the band you're in starts playing different tunes
 i'll see you on the dark side of the moon."
                                                   -- pink floyd, 1972
 
spamtraps: madduck.bogus@madduck.net
Previous: Björn Steinbrink
Message 3 of 3 in “git-svn clone duplicates content”
  1. martin f krafftMar 13, 2008
  2. Björn SteinbrinkMar 13, 2008
  3. martin f krafftMar 13, 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.