可能重複:
working with .git/info/exclude too late
.gitignore file not ignoring
git - removing a file from source control (but not from the source)如何在使用git-cvsimport後取消跟蹤CVS文件夾?
我在我的兩個.gitignore
和我.git/info/exclude
文件CVS/
。但由於某些原因,對任何CVS文件夾的更改仍會被跟蹤。
我厭倦了不得不手動取消這些文件夾中的更改。
一旦它決定跟蹤它們,我該如何讓git停止跟蹤CVS文件夾?
或者可能是http://stackoverflow.com/questions/1139762/gitignore-file-notignign? – 2010-11-14 17:45:57
或者這個:http://stackoverflow.com/questions/3296739/git-not-ignoring-certain-xcode-files-in-gitignore? – 2010-11-14 17:46:30
@Pavel:是的,這是那些被多方面詢問過的重複內容之一,但仍不足以讓人們通過搜索找到它。我永遠不知道要把它指向哪一個。 – Cascabel 2010-11-14 18:30:40