When I run git status I still see files that are suppose to be ignored.
My .gitignore looks like the following:
/bin/
/build/
*.class
*.classpath
*.settings
When I run git status I still see modified: build/dist/version.txt under the unstaged section.
All the other files that were generated under the build folder were ignored except version.txt.
 
    