#http git remote rm origin && git remote add origin http://git.xxx.cn/test2.git git push origin xxxxx #ssh git remote rm origin && git remote add origin ssh://git@git.xxx.cn/test2.git # git remote rm origin git remote add origin XXXX