* git-svn and --bare repositories
@ 2009-07-22 20:48 Aaron Gray
2009-07-23 8:07 ` Eric Wong
0 siblings, 1 reply; 2+ messages in thread
From: Aaron Gray @ 2009-07-22 20:48 UTC (permalink / raw)
To: Git Mailing List
How do I do a git svn fetch to a bare test.git repository created with :-
git --git-dir test.git --bare init --shared=true
I have tried :-
git --git-dir test.git svn fetch http://test.org/git/test
and
git --git-dir test.git/svn svn fetch http://test.org/git/test ///
fictious address :)
but neither work.
As you may guess I am not really sure what I am doing here.
Many thanks in advance,
Aaron
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git-svn and --bare repositories
2009-07-22 20:48 git-svn and --bare repositories Aaron Gray
@ 2009-07-23 8:07 ` Eric Wong
0 siblings, 0 replies; 2+ messages in thread
From: Eric Wong @ 2009-07-23 8:07 UTC (permalink / raw)
To: Aaron Gray; +Cc: Git Mailing List
Aaron Gray <aaronngray.lists@googlemail.com> wrote:
> How do I do a git svn fetch to a bare test.git repository created with :-
>
> git --git-dir test.git --bare init --shared=true
>
> I have tried :-
>
> git --git-dir test.git svn fetch http://test.org/git/test
>
> and
>
> git --git-dir test.git/svn svn fetch http://test.org/git/test ///
> fictious address :)
Hi Aaron,
You need to do "git svn init $URL" from "git svn fetch" (the latter
does not take URL arguments)
git --git-dir test.git --bare init --shared=true
git --git-dir test.git svn init $options $URL
git --git-dir test.git svn fetch
I haven't used bare repositories much with git svn, but apparently
it still works fine.
On a side note, "--git-dir $foo" really clutters up the command-line for
me, I guess I'm old-fashioned and prefer using the GIT_DIR environment
variable.
--
Eric Wong
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-23 8:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-22 20:48 git-svn and --bare repositories Aaron Gray
2009-07-23 8:07 ` Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox