第一種1.git add --ignore-errors .git
特別注意 git add --ignore-errors .spa
errors後面有一個空格再加一個點' .'blog
第二種:it
1.touch .gitignore;im
2.添加要省略的文件error
.vs/touch