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

Summary: Git should use stash
Product: versioncontrol Reporter: janario
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED DUPLICATE    
Severity: normal CC: git, hmichel, misterm, rodrigorsantos
Priority: P2    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

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