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.
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.
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.
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.
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.
After all I found it, hidden in the "Git Repository view":
With Eclipse Mars (Egit Version 4.0.3) you can access the Stash via click on Project ==> Team ==> Stashes:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With