我希望让Git忽略所有隐藏的文件和目录,即.aptitude,.ssh/和.bash_rc.是否有一个简单的规则来覆盖这个而不是专门添加每个条目?
.aptitude
.ssh/
.bash_rc
git gitignore
git ×1
gitignore ×1