Re: Removing an individual stashed state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/11/07, Steven Grimm <koreth@xxxxxxxxxxxxx> wrote:
> Once you've applied a stash, is it still useful? I don't see any point
> keeping it around, given that a stash is supposed to be a temporary
> holding area for dirty working trees.

Sometimes I apply it only to undo parts of it, and commit those parts.
Switch to a different branch, apply another part of it...

I'm still finding my workflows around stash and friends -- the pattern
above is from working on a feature, and finding minor fixes along the
way. I sometimes end up with a large diff, and then change branches
around to commit parts of it to the maint and pu branches. Cherry pick
is sometimes useful, but the 2 things complement.

And I literally undo the bits that I won't commit to ensure I've
tested what I am committing.

> -Steve (who thinks someday stash, rebase -i, and StGIT/guilt will
> converge as part of core git)

I agree with that -- though I hope that it'll be just the "golden
subset" of most useful features across those. If you put them all in a
box right now, there is a huge overlap.

cheers,


m
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux