Jump to: navigation, search

Difference between revisions of "Talk:EGit/User Guide"

(New page: '''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-choic...)
 
(reformatted; added branch_status question)
Line 1: Line 1:
 +
==Fetch from Upstream problem==
 
'''Problem''':
 
'''Problem''':
  
Line 21: Line 22:
  
 
... '''Use the name "origin" for the remote, which is absolutely necessary.'''"
 
... '''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 [[EGit/New and Noteworthy/1.3#Branch Status Decoration|"branch_status" label decoration]]. Also, the default project text decoration has changed 
 +
 +
from
 +
:<code>{dirty:>} {name} [{repository} {branch}]</code>
 +
to
 +
:<code>{dirty:>} {name} [{repository} {branch}{ branch_status}]</code>
 +
--[[User:Mondgesicht.gmx.net|Abdull]] 16:54, 23 June 2012 (UTC)

Revision as of 11:54, 23 June 2012

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)