From: Andreas Schwab <schwab@linux-m68k.org>
To: "Christof Krüger" <git@christof-krueger.de>
Cc: "Mihamina Rakotomandimby" <mihamina@bbs.mg>, git@vger.kernel.org
Subject: Re: importing history
Date: Wed, 29 Jun 2011 18:56:42 +0200 [thread overview]
Message-ID: <m2sjqswp85.fsf@igel.home> (raw)
In-Reply-To: <348bd65ad7c7690bcce553fe3c8e0bfb.squirrel@mail.localhost.li> ("Christof Krüger"'s message of "Wed, 29 Jun 2011 16:25:50 +0200 (CEST)")
Christof Krüger <git@christof-krueger.de> writes:
> Now that you already have cloned the empty repository you can just look at
> the remote configuration in it:
>
> git config --list|grep remote
>
> You should see something like the following:
>
> remote.origin.url=user@example.com/path/to/repository.git
> remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
>
> Go to your from-svn repository and add the above configuration, then "git
> push origin master".
Careful. git svn uses the remotes namespace in a non-std way. Better
to locally clone the from-svn repository into a new one, then use "git
remote add origin user@example.com/path/to/repository.git" to add the
remote repository. Then you can safely push the master branch.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2011-06-29 16:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-29 13:45 importing history Mihamina Rakotomandimby
2011-06-29 14:25 ` Christof Krüger
2011-06-29 16:56 ` Andreas Schwab [this message]
2011-06-29 17:02 ` Christof Krüger
2011-06-29 21:35 ` Andreas Schwab
2011-06-30 5:00 ` Christof Krüger
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=m2sjqswp85.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=git@christof-krueger.de \
--cc=git@vger.kernel.org \
--cc=mihamina@bbs.mg \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.