I have been using git and git-svn for a while now but we have moved out svn repository server to another location. So what i am wondering is what to I need to do for git to look at the new remote path so i can continue like before. I have tried changing the url in config to look at the new repo but then when i try git svn rebase I just get :
Unable to determine upstream SVN information from working tree history
The svn repo is exactly the same but has just moved locations to another url.
Thanks in advance.
You need to change the svn-remote.svn.url
. You can view it like so
% git config --get svn-remote.svn.url
and set it like this:
% git config svn-remote.svn.url http://foo/bar
or via your editor:
% git config -e
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.