【发布时间】:2012-02-07 08:40:47
【问题描述】:
可能重复:
git - removing a file from source control (but not from the source)
我有一个位于 project/app/assets/javascripts 路径中的 .DS_Store 文件。
如何从这个文件中删除 git tracking?
【问题讨论】:
-
git rm --cached filename。另见:stackoverflow.com/questions/1273108
标签: git