What is wrong with my .gitignore file?
build/ /build /*/build/ /*/*/build/ build/
This is the structure of my directory:
myroot FacebookSDK +--src +--build +--foo +-- bar app +--scr +--build build +--other stuff... +--other stuff.. .gitignore other stuff...
The problem is that foo and bar are not ignored!
What could be wrong?
xxxxs-my:xxxx xxx$ git status On branch master Your branch is up-to-date with 'origin/master'. Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) modified: FacebookSDK/FacebookSDK.iml modified: FacebookSDK/build.gradle modified: FacebookSDK/build/intermediates/bundles/debug/classes.jar modified: FacebookSDK/build/intermediates/bundles/debug/res/drawable/com_facebook_button_blue.xml
source share