I am developing my Android app on Eclipse. It works fine and run properly. But, I want to migrate to Android-Studio. Here is what I am doing:
- Create a repo in GitHubwith.gitignore, aREADME.mdandLICENSEfiles
- From within my project folder run the following commands: - git init
- git add .
- git pull git-url master
- git init(again)
- git add .(again)
- git commit -m "First commit"
- git remote add origin git-url
- git push -u origin master
 
- From - Android-Studio, I checkout the project from Git
- Run the app from Android-Studio (after alot of configrations)
My concern is that ALL my project files and folders are pushed to the remote repo at GitHub, including for example: bin\ and .settings\ folders. Meanwhile, I only need to push the important and platform independenet files because I work in both windows/mac systems and in differnet locations (hence, this is the reason behind using version-control).
My questions are:
- How to pullthe files on GitHub first, and then use.gitignoretopushthe "important and platform independenet" files from my project folder intoGiHub
- What is the recommended method to export a project from EclipsetoAndroid-Studiowhile using GitHub ?! should I:- checkout the project from Git (as I am doing now) ?
- use Eclipse Export Tool?
- or clonethe project first into a directoty and then loaded intoAndroid-Studioas an existing project ?
 
 
     
    