Re: Git unstash - drop option?

Michael Bien <[email protected]>
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <[email protected]>
Hi Mitch,

you should be able to drop stash items from the repository window.

Team -> Repository -> Repository Browser -> Stashes


The git stash integration is a bit lacking in NB since I believe it was added long after NB already had a version system neutral "shelve changes" concept in place.

I will try to get some smaller improvements in https://github.com/apache/netbeans/pull/8373, not sure if they make it into NB 26.

An enhancement I would like to see (since I use it often via CLI) is to stash selected files only. Shelve does support that, however, I believe the current jgit version can only stash with repo scope still (I only took a quick look maybe I missed something).

best regards,
michael


On 4/1/25 16:58, Mitch Claborn wrote:
> I frequently use Git unstash from the Team menu in NetBeans. That works fine, but then I have to drop the stash manually from the command line. Is there any way to apply and drop at the same time? (something like "git stash pop") Or a way to manage the stash list from NetBeans?
>
> Mitch 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.