一個特定的項目,我有以下解決方案結構如何忽略具有的.gitignore
SlnFolder/
Project1/
Project2ToBeExcluded/
Project3/
.gitignore
我複製this的.gitignore作爲基礎。我試圖實現的是將Project2ToBeExcluded
添加到.gitignore。我試圖在.gitignore的頂部添加Project2ToBeExcluded/
,但該項目及其更改仍在跟蹤中。通過GitHub應用程序和我的VS2012擴展。如何解決這個問題?
忽略它就像你會'bin'或'obj'目錄。 'Project2ToBeExcluded /'(帶正斜槓)。 – 2013-04-08 14:52:48
相關:[忽略文件夾使用.gitignore?](http://stackoverflow.com/questions/11259778/ignore-folders-using-gitignore) – SwDevMan81 2013-04-08 14:53:50
我已經嘗試完全這一點,它不工作!我是否需要相應地更新我的工具(我多次重新啓動它們)。 – 2013-04-08 14:56:11