I created a repository on GitHub. I set up a local git repository using Eclipse and Egit.
With Team > Remote > Push
. I managed to push the local repo to the one on GitHub.
Now I expected to be able to use the Team > Push to Upstream
(as well as fetch from upstream) as a one-click push (and pull/fetch), but this menu choice is not available (grayed out). I have to use Team > Remote > Push
to each time manually fill in the info (ctrl+space helps).
Following this, I created a remote configuration and pushed from the repositories view, and I can see the remote GitHub repository listed under Remotes
but still the Team > Push to Upstream
command is grayed out in the menu.
Could someone please give me a hint as to what I have may done wrong?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…