github - android + egit + github
0. overview
- this article gives you some ideas how to integrate GitHub with Android development environment.
- I tried to make it simple as possible. I didn't use any of unnecessary tools like GitHub client, Git bash shell etc.
- EGit has a few bugs. (like pushing to remote error) I recommend you to do exactly same procedure as shown.
1. Android
With a single download, the ADT Bundle includes everything you need to begin developing apps:
Eclipse + ADT plugin
Android SDK Tools
Android Platform-tools
The latest Android platform
The latest Android system image for the emulato
- plus EGit! (eclipse git plugin)
2. GitHub
- Make a new repository on GitHub
https://help.github.com/articles/create-a-repo
3. EGit (Git eclipse plugin)
- create a local git repository (from Git Repository Exploring perspective)
- create new android project
- share (Team > Share Project > Git > )
workspace is changed !! you need to adjust java build path.
you can skip Add To Index.
- create remote (with GitHub repo URL)
- push to remote (Team > Remote > Push)
4. visit GitHub and check repository
- or see show in history (Team > Show In History)
댓글 없음:
댓글 쓰기