It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.

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.

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

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.

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,917 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you