How do I add existing eclipse java project to git

How do I add an existing java project in eclipse to git?

I noticed when creating the project there was an option to add to source control but I can’t find this option for an existing project. Is this possible from the git plugin in eclipse or must it be done from the command line? (I am using a Mac)

  • Aptana Git plugin standalone
  • Why is the merge tool disabled in Eclipse for a EGit-managed project?
  • Target location for project “ ” already exists, can not move project
  • Cannot fetch or pull from Github with Eclipse (EGit) because wrong password is stored
  • How to download/clone a new branch from my server git repository into an already created local git repository in my PC with Eclipse EGit
  • When commiting projects should I include .project & .classpath?
  • Shorthand to view diff of previous version of file
  • Mercurial repo too large, can't connect, clone
  • Versioning Mysql Data (Not Just Schema)
  • bitbucket git push stuck
  • Is there a way to change the file path for an Rstudio project?
  • How do you rename a Git tag?
  • One Solution collect form web for “How do I add existing eclipse java project to git”

    Right click on the project, select Team then Share and you will be prompted to select the tool you prefer. Select git and go on.

    Git Baby is a git and github fan, let's start git clone.