码迷,mamicode.com
首页 > 其他好文 > 详细

npm安装git上的包

时间:2017-04-01 15:38:17      阅读:442      评论:0      收藏:0      [点我收藏+]

标签:com   which   http   ssh   url   comm   .json   span   pack   

package.json

Git urls can be of the form:

git://github.com/user/project.git#commit-ish
git+ssh://user@hostname:project.git#commit-ish
git+http://user@hostname/project/blah.git#commit-ish
git+https://user@hostname/project/blah.git#commit-ish

The commit-ish can be any tag, sha, or branch which can be supplied as an argument to git checkout. The default is master.

 解读各个内容:

  

 

npm安装git上的包

标签:com   which   http   ssh   url   comm   .json   span   pack   

原文地址:http://www.cnblogs.com/jay--zhang/p/6655772.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!