Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to find stash/apply functionalitit in EGit

I'm working with Eclipse Kepler and EGit 3.0.0. Where can I find the GIT stash/apply functionality.

I cannot find stash in the package explorer team pop-up nor anywhere in the Team Synchronizing perspective.

like image 516
BetaRide Avatar asked Jul 17 '13 14:07

BetaRide


People also ask

How do I see git stash apply?

In order to apply your Git stash to your current working directory, use the “git stash apply” command and specify the stash you want to apply. If you don't specify any arguments to the apply command, the top of the stack will be applied.

How do I apply stash changes in Eclipse?

At least in my version of Eclipse (Oxygen), right-clicking on the repository entry in the repositories view finds the "Stashes" menu, with an option to stash the current changes, or to select a particular stash entry. Once you select and view the stash entry, you can apply it to your current branch.

Does git stash apply apply all stashes?

You can reapply stashed changes with the commands git stash apply and git stash pop . Both commands reapply the changes stashed in the latest stash (that is, stash@{0} ). A stash reapplies the changes while pop removes the changes from the stash and reapplies them to the working copy.

How do you reapply stashed changes?

To retrieve changes out of the stash and apply them to the current branch you're on, you have two options: git stash apply STASH-NAME applies the changes and leaves a copy in the stash. git stash pop STASH-NAME applies the changes and removes the files from the stash.


2 Answers

After all I found it, hidden in the "Git Repository view":

enter image description here

like image 113
BetaRide Avatar answered Sep 23 '22 01:09

BetaRide


With Eclipse Mars (Egit Version 4.0.3) you can access the Stash via click on Project ==> Team ==> Stashes:

EGit Stash

like image 40
hinneLinks Avatar answered Sep 19 '22 01:09

hinneLinks