我知道使用.gitignore文件来排除一些正在添加的文件,但我config.php在源代码树中有几个文件,我只需要排除一个位于根目录中,而其他文件保持在版本控制之下.
.gitignore
config.php
我应该写什么.gitignore来实现这一目标?
git gitignore
git ×1
gitignore ×1