git - how to put an eclipse project into github -
i have empty repo in git hub. have project full of code in eclipse. have egit plugin installed in eclipse.
if right click on project, , share, select git, gives option create local repo - no ability select remote 1 check code or clone.
this seems massive omission in plugin.
not sure now. install external git command line, , there, kind of defeats object of git plugin. guess need clone emtpy repo in emtpy dirctory using git command line, copy project on using file explorer, add, commit , push files repo. guess need create new project in eclipse, , try , check project out scratch git, delete old project. not sure files have avoid copying though. surely there easier way?
any ideas?
here have do:
- clone remote repo using action in "git repositories" view
- "share" project local repo created clonining
- commit code local repo using "commit" action on repo in "git repositories" view or team -> commit on project.
- push changes remote repo using "push upstream" action on repo in "git repositories" view or team -> "push upstream" on project.
in general need read on egit: http://wiki.eclipse.org/egit/user_guide
Comments
Post a Comment