Husein Behboodi Rad Husein Behboodi Rad - 1 year ago 100
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?

Answer Source

Just add another remote repo - see here

git remote add otherrepo  

Then you can push to it

git push otherrepo master
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download