[英]How to make a .gitignore file in a git repository and add names of the Files/Folders in this .gitignore file so that git may not tracked these files
git init 但没有任何人可以指导我的 git ignore 文件
您可以手动添加 .gitignore 文件。 查看有用的模板: https : //github.com/github/gitignore
您可以在 git bash 中通过touch .gitignore
创建忽略文件。
这是节点的模板忽略文件:
https://github.com/github/gitignore/blob/7293c14345c205c679722364a01b88d331e862ff/Node.gitignore#L41
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.