若是新的.gitignore
- 新建.gitignore
- 在.gitignore里面添加.gitignore
- 即可忽略它自己
若是已提交的.gitignore
- git rm --cached
- 在.gitignore里面添加.gitignore
- 即可忽略它自己
参考:https://help.github.com/articles/ignoring-files/
本文详细解释了如何使用Gitignore文件来管理Git仓库中文件的可见性和版本控制,包括新创建和已提交文件的忽略策略。
参考:https://help.github.com/articles/ignoring-files/
6万+
1080

被折叠的 条评论
为什么被折叠?
