Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Talk:EGit/User Guide

Fetch from Upstream problem

Problem:

"Fretch From Upstream" and "Push To Upstream" is alway grayed out


Solution:

(from http://stackoverflow.com/questions/8756006/eclipse-egit-push-to-remote-menu-choice-is-grayed-out)

"...

1. Right click your project, choose Team→Show in Repositories View. You will switch perspectives and be in the Git Repositories tab.

2. Right-click "Remotes" and choose "Create Remote". For "Remote name", enter "origin". Click OK.

3. Click Change. Enter your information as you did during your initial push. Click Save.

You should now be able to push by merely right-clicking on your project, then Team→Push to Upstream.

Because the remote was added under the project in question, each project can have its own upstream origin and they will not interfere (whereas the Window > Preferences solution is a global setting).

... Use the name "origin" for the remote, which is absolutely necessary."

branch_status label decoration

This user guide is currently (2012-06-23) missing an explanation for the "branch_status" label decoration. Also, the default project text decoration has changed

from

{dirty:>} {name} [{repository} {branch}]

to

{dirty:>} {name} [{repository} {branch}{ branch_status}]

--Abdull 16:54, 23 June 2012 (UTC)

Thanks! Added. — Robin.nibor.org (talk)

Edit Features Stop Working in Git Project

Several features of eclipse, including auto-complete, syntax error highlighting, and class loader, no longer work, but only in the eclipse project related or linked to my git repository.

I downloaded and installed the latest stable version of eclipse, and then did the "install software" to install the latest git plugin.

These eclipse features still function in other "projects". I tried copying the files in this folder to another folder using the native file manager, then deleting the folders/files named: .git, .gitignore, and .project, then importing this as "General -> File Folder", as a plain PHP project. But the eclipse features don't work here either. I may as well be using Notepad or TextEdit instead, without these features.

System: - MacOS X Lion version 10.7.3 - Eclipse for PHP Developers - Version: Helios Release - Build id: 20100617-1415 - Eclipse EGit 1.3.0.201202151440-r org.eclipse.egit.feature.group - Eclipse IDE for PHP Developers 1.3.0.20100617-0520 epp.package.php

I even tried adding "-clean" to the eclipse startup file as described by http://www.eclipsezone.com/eclipse/forums/t61566.html on my original eclipse, and it apparently did nothing.

Is anyone else experiencing this issue? Please help. G

GIT_SSH?

Luis.a.de.sousa.gmail.com added in http://wiki.eclipse.org/index.php?title=EGit/User_Guide&oldid=320193 :

  • Make sure you have an environment variable named GIT_SSH pointing to the ssh binaries in your system. In Windows this will be something like C:\Program Files\Git\bin\ssh.exe; in Ubuntu it is /usr/bin/ssh.

That may be necessary for some command line Git installations, but it's not necessary for EGit. markus_keller@ch.ibm.com 15:39, 7 November 2012 (UTC)

That's covered in the FAQ. I've added a link to the user guide. --gunnar (talk) 06:18, 4 August 2014 (EDT)


Updating a Gerrit Change

I found it surprisingly difficult to find documentation on how you upload updates of a change to gerrit. All descriptions seem to stop once the first patch has been uploaded and reviewed :)

After some routine work with git but without gerrit, I would have never thought of amending a commit that was already pushed. If that's indeed the correct procedure, that might deserve an extra paragraph? --Stephan.herrmann.berlin.de (talk) 20:25, 18 August 2014 (EDT)

I added a section for this, could you review it? — robinst (talk) 08:33, 19 August 2014 (EDT)
I found your response and the added section only now. Looks good to me, thanks. — Stephan.herrmann.berlin.de (talk) 12:18, 29 January 2015 (EST)

External links

I added external links because I thought it would be beneficial and it's commonly seen on other wiki pages. If this is somehow inappropriate, please feel free to remove. lufimtse@redhat.com 2014.08.22

Not sure about that, we generate the help content from the User Guide. — robinst (talk) 03:34, 24 August 2014 (EDT)
Please don't put external links to other articles about EGit on this page as we generate the EGit help content from this page.
If you want add a new page for external links under wiki.eclipse.org/EGit/
Your blog states "Egit is only a thin layer on top of git itself." this is wrong: EGit is based on JGit
Matthias.sohn.sap.com (talk) 06:25, 24 August 2014 (EDT)
Oh I see. Thank you for letting me know. I removed the external link section again. lufimtse@redhat.com 2014.08.25

Getting Started flow starts in the middle

The Getting Started section of the EGit User Guide starts with adding user name and email address but with no indication of how you got there. The User Guide should start from a new and empty environment and talk about how to configure and use EGit with local repositories.

Install instructions EGit Mylyn Connector

The page says that I shall install the connector as EGit Mylyn from the Eclipse market place, but it is not available there. So what is the correct way to install EGit Mylyn Connector? -- Timothy Truckle

Copyright © Eclipse Foundation, Inc. All Rights Reserved.