From: Manuel Reimer <Manuel.Spam@nurfuerspam.de>
To: git@vger.kernel.org
Subject: How to restore "svn mirror generator"?
Date: Sat, 21 Jan 2012 16:45:10 +0100 [thread overview]
Message-ID: <jfemrc$t1j$1@dough.gmane.org> (raw)
Hello,
I want to create a GIT mirror of a SVN repository.
I plan to mirror a SVN server to GIT. I don't want to fetch the full history but
all future commits should be mirrored.
I plan to do this in the following way:
git svn clone -r $REVISION_TO_START_WITH http://domain.tld/path/to/svn
git remote add origin ssh://user@gitserver.tld/mirror.git
git push
Now, from time to time, I want to update with
git svn rebase
git push
I hope, so far I'm on the right way.
But what happens if, for some reason, my local repository gets lost?
How to reconnect GIT and SVN so I'm able to mirror, again?
Is the first step to clone the GIT repository and then, somehow, get the SVN
connected, again, or do I have to do it the other way around?
Yours
Manuel
reply other threads:[~2012-01-21 15:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='jfemrc$t1j$1@dough.gmane.org' \
--to=manuel.spam@nurfuerspam.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).