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: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to