Skip to content

Instantly share code, notes, and snippets.

@buzeeg
Created August 20, 2012 21:47
Show Gist options
  • Save buzeeg/3408192 to your computer and use it in GitHub Desktop.
Save buzeeg/3408192 to your computer and use it in GitHub Desktop.
GIT-Android-Eclipse running together
### GIT + Eclipse + Android ###
- Create the git repo (github or other)
- Launch Eclipse in wanted WS
- Import GIT project from distant repo
- Use New project wizard or Import existing project (create it anywhere, it will be moved in the next step)
- Finally move project into git local dir using : Team > Share Project
To commit in Eclipse : Team > Commit
To pull to origin repo in Eclipse : Team > Push to upstream
To pull to origin repo using git cmd line : git push -u origin master
Pull new code from distant repo to local dir :
git pull origin master
Push new code to distant repo :
git push -u origin master
source : http://www.throrinstudio.com/dev/creer-un-nouveau-projet-github-sous-eclipse/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment