How can i change the origin url in the GIT Repository. I dont want to add a new repo. I want to change the old one.Please help me. I find option to add new one but not change the existing one.
Thanks
I don't think you can do that from XCode4, much like many other things.
Do git remote set-url origin <newurl>
like @Dan Ray suggests, or go to .git/config and edit the url to the new one.
And one piece of advice, Git is enjoyed through the command line, so where the IDE/ GUI doesn't work, be happy to work from the command line.
# git remote set-url origin <newurl>
If your question is how to do this from within Xcode, then I don't know. This is how you do it in git. Whatever Xcode would do would really be doing this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With