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:

  1. clone remote repo using action in "git repositories" view
  2. "share" project local repo created clonining
  3. commit code local repo using "commit" action on repo in "git repositories" view or team -> commit on project.
  4. 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

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -