我有一个git repo,其中.DS_Store已经跟踪了文件.有没有办法完全忽略每个文件夹中的主题?
我知道被跟踪之前,我可以简单地把.DS_Store在.gitignore,但我也知道,如果它不工作.DS_Store已经版本.
mu *_*u 無 10
You need to remove them from the repo using git rm and then commit the changes.
git rm --cached "*.DS_Store"
git commit -m "remove all .DS_Store"
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1935 次 |
| 最近记录: |