I am using git-svnand I want to upgrade it to the latest version of SVN HEAD.
When I type git pull, he says:
fatal: No remote repository specified. Please, specify either a URL or a
remote name from which new revisions should be fetched.
I read here that I should do something like:
git checkout -b real-trunk remotes/trunk
But I do not understand the team. What remote-trunk? In any case, gitit gives an error:
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'remotes/trunk' which can not be resolved as commit?
Here is mine .git/config:
$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[svn-remote "svn"]
url = http://name.xyz.com/svn/trunk/project
fetch = :refs/remotes/git-svn
Also, can someone tell me how to revert all the changes I made to my git checkout? I want to return to the new version of SVN HEAD.
Frank source
share