[英]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.