From: Christof Krüger Date: Wed, 29 Jun 2011 14:25:50 GMT Subject: Re: importing history Message-ID: <348bd65ad7c7690bcce553fe3c8e0bfb.squirrel@mail.localhost.li> In-Reply-To: <20110629164514.58175480.mihamina@bbs.mg> Hi, > Then I created an account in a forge (like github or so...), where I > had to clone an empty GIT repository in order to begin to work. > I dont have admin access to the forge, so no "scp" to the repo > hosting possible. Why did you have to clone an empty repository? It should be enough to add the correct remote config directly in your "from-svn" repository and just push it. > Now, I have 2 "local" repos: > - the one from the SVN > - the empty one from the forge 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". Good luck! Regards, Chris