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?
            Asked
            
        
        
            Active
            
        
            Viewed 372 times
        
    2 Answers
0
            
            
        As described here, you can modify your current remote to push to multiple url:
 git remote set-url --add --push origin $(git remote get-url origin)
 git remote set-url --add --push origin /new/url
(you need both commands)
Then a git push would push to both urls.
 
     
     
     
    