32

I'm trying to add a remote git repository in xcode project but I'm unable to find an option for that. getting option as

enter image description here

but expecting

enter image description here

Is there any other way to add remote repository to a project?

3 Answers 3

72

Navigate to Source Control tab right next to the Project Navigator, then right click on your project and select the Add Existing Remote.

enter image description here

Then enter your remote URL.

enter image description here

Sign up to request clarification or add additional context in comments.

Comments

8

You can use this command in terminal:

git remote add origin https://Your_git_URL.git

Comments

0

Learning to do git from the console is very easy too use this as a reference

1 Comment

I think this is a comment and not an answer

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.