在Mac环境下,使用git的时候,总会在git init后,突然跑出来几个文件,例如.DS_Store。如何忽略它呢?
Mac
git init
.DS_Store
touch .gitignore
.gitignore
vim .gitignore
i
*/.DS_Store
esc
:
wq