使用git從服務器下載已存在的項目文件

在項目所在路徑下輸入: git remote -v 得到項目在服務器下的路徑以下:git

origin ssh://git@ygl-redis:300/home/git/perfectunits-iphone (fetch)redis

origin ssh://git@ygl-redis:300/home/git/perfectunits-iphone (push)服務器

在須要下載項目的路徑下輸入: git clone ssh://git@ygl-redis:300/home/git/perfectunits-iphone 下載項目ssh

之後須要更新時,直接 git pull 就OK。iphone

相關文章
相關標籤/搜索