I want to versionate an Android project with git but I am wondering what is mandatory to add to git repository.
I know about .gitignore
file and I also have read this question: What should be in my .gitignore for an Android Studio project? but I have seen that there are a lot of different opinions about what should I add or remove from .gitignore
file.
My question is not so open, I just want to know what is mandatory add to git repository, I mean that if I create a new project, versionate it and clone that repo in another computer, the project will work without problems.
Just the needed files I need to make my Android git project works in other computer when I clone my git repository. I am using Android Studio.
So, what files are mandatory to versionate on Android git project?