* removing svn remotes
@ 2008-11-19 1:47 Matt Graham
2008-11-19 8:32 ` Björn Steinbrink
0 siblings, 1 reply; 3+ messages in thread
From: Matt Graham @ 2008-11-19 1:47 UTC (permalink / raw)
To: git
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?
Thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: removing svn remotes
2008-11-19 1:47 removing svn remotes Matt Graham
@ 2008-11-19 8:32 ` Björn Steinbrink
2008-11-19 21:26 ` Matt Graham
0 siblings, 1 reply; 3+ messages in thread
From: Björn Steinbrink @ 2008-11-19 8:32 UTC (permalink / raw)
To: Matt Graham; +Cc: git
On 2008.11.18 20:47:24 -0500, Matt Graham wrote:
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: removing svn remotes
2008-11-19 8:32 ` Björn Steinbrink
@ 2008-11-19 21:26 ` Matt Graham
0 siblings, 0 replies; 3+ messages in thread
From: Matt Graham @ 2008-11-19 21:26 UTC (permalink / raw)
To: Björn Steinbrink; +Cc: git
On Wed, Nov 19, 2008 at 03:32, Björn Steinbrink <B.Steinbrink@gmx.de> wrote:
> On 2008.11.18 20:47:24 -0500, Matt Graham wrote:
>> 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?
Sorry the question was not clear.
git branch -r -d
did exactly what I need. I guess I just didn't know how to ask for
it. Another happy discovery.
Using git branch -r -d, I was able to delete my svn-remotes.
Now when I run git svn fetch --fetch-all, it appears to fetch only
from the remaining branches that I didn't delete. I hope that
clarifies it.
thank you!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-19 21:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-19 1:47 removing svn remotes Matt Graham
2008-11-19 8:32 ` Björn Steinbrink
2008-11-19 21:26 ` Matt Graham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox