I have an Android project set up in my Eclipse workspace. What I would like would be if this individual project could be set up in its own Git repository. I tried to do this previously but I ended up having a huge file because all of my workspace projects ended up on this one repo. This caused problems when I uploaded my APK to the Google Play store. (It was something like 20MB instead of 2MB).
Any ideas as to how I would be able to do this? Thanks for any help.
You apparently made your whole workspace into a git repo
my-project
Issue
$ git init
$ echo bin/ >> .gitignore # exclude the bin folder !
$ git add -A && git commit -m "All my files" # this will commit *all*
# better fire up the gui and choose what to commit
$ git remote add origin https://github.com/YOURUSERNAME/my-project.git
$ git push -u origin master
Done
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With