I converted a SVN repository to git using
git svn clone --stdlayout --authors-file=authors.txt --no-metadata svn://svn.foo.com
For some reason, this gave me what looked like a bare repository. There was just a .git
directory. In thise cloned repository, I wanted to get a checkout. Since git checkout
didn't work, I ran
git reset --hard
Is this the correct way? It seems to work, but sounds scary. I then attempted to run
git svn rebase
So that the latest changes from the Subversion repository are pulled into my git clone. However, this didn't work. Instead, it yields the message
Unable to determine upstream SVN information from working tree history
Does anybody know why this is happening?