Git “NO-HEAD” statement

It can simply mean that, until you make your first add and first commit, you have no branch (not even a master one), hence no HEAD referencing any branch. See more in “Why do I need to explicitly push a new branch?”.

EGit requires org.eclipse.team.core

The “EGit Import Support” feature requires Eclipse 3.8, 4.2 or higher. Just deselect the checkbox, and installing should work. See here about the feature: http://wiki.eclipse.org/EGit/New_and_Noteworthy/2.0#Support_for_Eclipse-SourceReferences_manifest_headers

Eclipse project-wide error: Warning: The environment variable HOME is not set. The following directory will be used to store the Git

The other answers don’t contemplate that if you don’t use Git, then you can entirely ignore this warning, along with the “EGit could not detect” one. But I know… obsessive minds can’t just ignore… they NEED to fix it anyway, right? Then proceed: Go to “Window –> Preferences” menu Expand: “Version Control (Team) –> Git … Read more

What does the option “Auto share projects located in git repository” of EGit mean?

In Short: Yes the option is necessary, otherwise you will have to manually share the project with the repository it belongs to. The option Auto share projects located in Git repository usually saves you the extra step of sharing the created or imported project with a repository. A project that belongs to a certain repository … Read more

In Eclipse/EGit is there a way to edit commit message of unpushed/local commit?

That would be the “Amending Commits” section of the EGit User Guide: open the Staging View or Commit Dialog again and select the option Amend previous commit in the toolbar. See also this tutorial: Git amend allows to adjust the last commit. For example you can change the commit message. The Git Staging view allows … Read more

What’s the difference between “Push…” and “Push to upstream…” in Eclipse

Push to Upstream.. pushes your branch as you would expect for a remote-tracking branch. Push… opens a dialog and lets you specify which refspecs you should push up, including tags, special cases like HEAD:refs/heads/master, etc. That it doesn’t update origin/master seems like a bug to me, or maybe they’re waiting for the next fetch to … Read more

Bitbucket – Push project files to an empty Git repository

First, make sure you already installed EGit or other git control plugins on your Eclipse. Second, add Git Source Control to your existing Android Eclipse Project (local) and create a local Git Repository for the Project, by following the steps below: (or check this video) right click your project -> Team -> share project check … Read more