This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 230414 - Git should use stash
Summary: Git should use stash
Status: RESOLVED DUPLICATE of bug 224986
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal with 2 votes (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-29 02:24 UTC by janario
Modified: 2013-05-29 07:44 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description janario 2013-05-29 02:24:51 UTC
Product Version = NetBeans IDE Dev (Build 20130528-a3efd58900c1)
Operating System = Linux version 3.8.0-22-generic running on amd64
Java; VM; Vendor = 1.7.0_21
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.21-b01

A good and useful feature that I use a lot is git stash(http://git-scm.com/book/en/Git-Tools-Stashing).
It would be great if this could be integrated in netbeans git module. 
My use case is described below.

When I have to pull a code in a branch but I have uncommited code changes on it. I usually save this changes in an stash($ git stash) do a git pull and then apply the stash that I've created($ git stash apply)
To see what stashes I've created ($git stash list) and finally if I don't need an stash anymore I can delete($ git stash drop)

At the moment netbeans has a feature called shelve changes(Team > shelve changes) Maybe this could be integrated with stashes in case it is a git repository.
Comment 1 Ondrej Vrabec 2013-05-29 07:44:21 UTC

*** This bug has been marked as a duplicate of bug 224986 ***