npm使用.git文件夹和.gitignore文件安装私有git存储库 [英] npm install private git repository with .git folder and .gitignore file

查看:142
本文介绍了npm使用.git文件夹和.gitignore文件安装私有git存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用npm通过npm install命令下载私有git存储库.但是,下载的存储库不包含.git文件夹或.gitignore文件.有什么办法可以解决这个问题?

I am using npm to download a private git repository with npm install command. However, the downloaded repository does not contain a .git folder or a .gitignore file. Is there any way that I can solve this problem?

推荐答案

npm install不安装git文件.

这篇关于npm使用.git文件夹和.gitignore文件安装私有git存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆