Can't "push" in a solo usage [message #1408644] |
Fri, 15 August 2014 13:30  |
Eclipse User |
|
|
|
Hi!
I am working alone with Eclipse (Kepler Service Release 2) and I am using Egit locally (the git repository is on my hard drive) mainly to benefit from versioning.
I need to "push" (in order to save a newer version of my work) but I can't. I right-click on my project, go to team, then "push to upstream" is grey, inactive ; I can only "Commit...". And it says "No changed items were selected. Do you wish to amend the last commit?".
I am afraid to try, I guess it wouldn't push and replace the old files at best.
Could someone advise me ?
|
|
|
|
|
|
Re: Can't "push" in a solo usage [message #1420079 is a reply to message #1409162] |
Tue, 09 September 2014 09:22  |
Eclipse User |
|
|
|
Bat Galt wrote on Sun, 17 August 2014 04:45When I go to the ressources of the history view, I can only see the name of my project with a green plus, and the yellow cylinder. I can't compare anything and I suspect I am not commiting anything.
I can't add items of my project (I mean classes, jsp, and others) to the index, neither could I remove them from it, although every item's got the cylinder.
I made another git, attached my project to it. Nothing I do seems to matter.
How can I really add my items to the index and compare them through different versions ?
Open the Git Staging View. It shows the files you modified in the "Unstaged Changes" pane, drag and drop them to the "Staged Changes" pane in order to stage the changes. Provide a commit message and click "Commit" to create a new commit. Find more details here [1].
Did you try the basic tutorial [2] ?
[1] https://wiki.eclipse.org/EGit/User_Guide#Committing_with_the_Staging_View
[2] https://wiki.eclipse.org/EGit/User_Guide#Basic_Tutorial:_Adding_a_project_to_version_control
|
|
|
Powered by
FUDForum. Page generated in 0.49546 seconds