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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.