Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,429
Community Members
 
Community Events
168
Community Groups

Shelve select files/hunks?

Sorry if this has been addressed elsewhere... my searches haven't turned up any info so far. Is it possible to shelve select files or hunks in SourceTree (instead of shelving all uncommitted changes)? Likewise, can you unshelve select items?

Thanks,
_Nik

7 answers

1 accepted

0 votes
Answer accepted

No, Stash and Shelve are all-or-nothing operations at the moment, the hunk-level selection in shelve extensions tends to require a full terminal interface so we only expose the simpler mode right now.

1 vote
KieranA Rising Star Jul 15, 2013

We have this on the roadmap for future versions, so I'll be working closely with Steve to get this working across the platforms.

Cheers

Any progress on this feature? I use this feature a lot in TortoiseHg. I'd really like to switch to SourceTree but I think for now I'll have to stick with TortoiseHg.

Is it still in the roadmap? I'll stick with TortiseHg just for this. 

Yes, I like the shelve tool that TortoiseHg provides.It'd be great to see something like it in SourceTree.

Not to point to another app that does this, but TortoiseHg fairly recently brought this feature back (it was in 1.x and temporarily lost in 2.x). It's similar to how SourceTree lets you discard individual hunks now. During the commit, you can check/uncheck the hunks for files. You don't need to shelve/unshelve the hunks to handle incremental/cherry picked commits with such an interface.

Ok. It'd be a really nice feature to have, as I frequently want to shelve specific files and sometimes specific hunks.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events