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

Re: removing svn remotes

From
Björn Steinbrink <b.steinbrink@gmx.de>
Date
Nov 19, 2008, 08:32 UTC
Message-ID
<20081119083219.GB3538@atjola.homenet>
In-Reply-To
<1c5969370811181747i240ed22bk73ca62e09b3d0172@mail.gmail.com>
On 2008.11.18 20:47:24 -0500, Matt Graham wrote:
Show 13 quoted lines
> Hi,
> I have a svn repo cloned into a git repo.  There are several remote
> refs that are there that I don't care about and don't want to fetch.
> 
> git svn fetch --fetch-all gets a bunch of stuff from branches I don't want
> git svn fetch requires I checkout the branches I care about before fetching
> 
> git svn fetch doesn't accept a branch name
> git remote rm isn't able to see the svn remotes
> 
> Is there a way to either:
> 1) get rid of the svn remotes that I don't want?
> 2) fetch only the remotes that I do want?

Uhm, are you talking about remote tracking branches (what "git branch -r" shows), or svn-remotes (not sure if git-svn can list them, they're in .git/config)?

The behaviour you describe doesn't match my experience with git-svn, so maybe you could elaborate a bit on the exact problem?

Thanks, Björn

Previous: Matt GrahamNext: Matt Graham
Message 2 of 3 in “removing svn remotes”
  1. Matt GrahamNov 19, 2008
  2. Björn SteinbrinkNov 19, 2008
  3. Matt GrahamNov 19, 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.