How to access git remote repo since IP address changed
 Possible Duplicate:  
 How to change a remote repository URI using Git?  
I have 2 remote repos
remotes/origin/develop
remotes/origin/master
 Originally these were on ip-address-1 .  The ip address has changed to new-ip-address-2 .  
How can I change my local references so I can access the same repo at a new ip address?
You can try to make changes in your hosts file and force DNS resolution (old DNS to new ip, I'm using 192.168.0.2 as example)
192.168.0.2 old.dns.entry
This is not the best solution but works in some environments.
链接地址: http://www.djcxy.com/p/4616.html