配置本地git链接远程仓库

安装git

brew install git

生成本地ssh key 

ssh-keygen -t rsa

 

添加公钥到gitlab

git clone --recursive git@gitlab.******.git(to you project)

npm 切换成淘宝源:

npm config set registry https://registry.npm.taobao.org

npm config set disturl https://npm.taobao.org/dist

 

npm install

 

done

 

posted on 2016-01-11 10:57  菜鸟老万  阅读(207)  评论(0)    收藏  举报

导航