添加远程仓库主要有以下三种写法,如下:
git remote add origin ssh://git@hostname/helloworld.git git remote add origin ssh://git@192.168.14.70/helloworld.git git remote add origin git@192.168.14.70:helloworld.git
可以参考我的博客:
http://blog.csdn.net/zzqhost/article/details/9233819