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

6 answers

1 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.

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.

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.

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

247 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot