I am developing an app and I must take that project to GitHub. Now, I must make gitIgnore file. I know that file is used to ignore some specified files from my project. I used g
Check out this handy page on Github - the ignore files for other types of projects are there as well and regularly updated.
.gitignore file must be in the root directory of the project not just in android projects but in any project types
I hope my answer would be useful
Normally when creating a new project the gitignore file is generated for you.
Here is the correct .gitignore file.
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
This is were you have to put it.