美文网首页
创建.gitIgnore文件

创建.gitIgnore文件

作者: bug喵 | 来源:发表于2017-12-21 15:34 被阅读0次

1、命令行进入需要创建 .gitignore 文件的项目目录。
2、输入 touch .gitignore ,生成“.gitignore”文件。
3、在”.gitignore” 文件里输入你要忽略的文件夹及其文件就可以了。(注意格式)

.idea/
node_modules/

相关文章

网友评论

      本文标题:创建.gitIgnore文件

      本文链接:https://www.haomeiwen.com/subject/nzsawxtx.html