我想忽略來自我的項目的一些文件。我有以下擴展名的的.gitignoregitignore無法處理所有文件
*.opensdf
*.sdf
*.tlog
*.cer
*.cat
*.inf
*.tmh
*.inf
我看到以下的文件被忽略
D:\Projects\driver1\driver1\inter\Win32\Win7Debug\link.command.1.tlog
但下面的文件被視爲修正,因此這一項也是不可忽視的。
D:\Projects\driver1\ioctlapp\inter\Debug\link.write.1.tlog
爲什麼第二個文件不被忽略,我該如何解決這個問題?
我只從兩個文件中忽略了兩個文件,而忽略了這些文件,但是還有更多的文件,我希望忽略它們,而不是它們。
可能是第二個文件已經被跟蹤的文件?如果是這樣,它不會被忽略。 –
[將.gitignore應用於已提交的文件]可能的重複(http://stackoverflow.com/questions/7527982/applying-gitignore-to-committed-files) – edi9999