My .gitignore looks more less like this:
# Ignore everything
*
# But not these files...
!.gitignore
!ImportantDirectory/
!AnotherImportantDirectory
# Actually, ignore these...
ImportantDirectory/NotImportantFile
The problem is that ImportantDirectory/NotImportantFile is still being tracked. Any idea how to solve this?
 
     
     
    