Re: Git unstash - drop option?

Mitch Claborn <[email protected]>
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <CAKKx8bxsLq3MwQt9ka91p7Gu9y0_an2u-HTo-KSQOZjxisJgmA@mail.gmail.com>
Thanks Michael, that helps a lot.


Mitch


On Tue, Apr 1, 2025 at 6:51 PM Michael Bien <[email protected]> wrote:

> 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
>
>
>
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.