package.json
Git urls can be of the form:
git://github.com/user/project.git#commit-ish
git+ssh://[email protected]:project.git#commit-ish
git+http://[email protected]/project/blah.git#commit-ish
git+https://[email protected]/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
.
解读各个内容:
时间: 2024-09-30 21:45:01