Husein Behboodi Rad Husein Behboodi Rad - 2 months ago 4
Git Question

How to connect one code into two git repositories?

I have an iOS project in my Xcode. I want to push my changes into two separate git repositories. (One is repository in our local network and the other one is a repository in my servers on Internet). Is there any options to connect the code to two repositories?


Just add another remote repo - see here

git remote add otherrepo  

Then you can push to it

git push otherrepo master