I am using smartgit on windows.
I am trying to add some directories in the repo to be ignored.
I am using the following .gitignore, that was recommended for Android Studio android application.
#built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# Java class files
*.class
# generated files
bin/
gen/
build/
# Local configuration file (sdk path, etc)
local.properties
# Windows thumbnail db
Thumbs.db
# OSX files
.DS_Store
# Eclipse project files
.classpath
.project
# Android Studio
*.iml
.idea
#.idea/workspace.xml - remove # and delete .idea if it better suit your needs.
.gradle
build/
#NDK
obj/
To my understanding, the Build folder should be ignored, but it is not being ignored. In addition the Build\Generated folder is being ignored, but that dir is not even added to the gitignore file.
Here you can see the build folder is not ignored yet the generated folder is.