Sublime Forum

Can we stash a hunk or file from the commit view?

#1

Hi, I’m not sure if this is possible with git but while viewing my list of changes to commit, in addition to the existing discard and stage options, I’d find it super useful to my workflow to be able to stash hunks as well.

The scenario being that I’ve made a couple changes, and have a hunk that I know I won’t want to commit now or in the future, but I’d like to be able to keep a reference to it as a sort of short term documentation/record of an approach I took.

Thanks for your consideration,

1 Like

#2

You don’t mention which package you’re using here. It is generally possible with git to only make a stash from the stage, it’s a huge pain to do this manually from the command line though. GitSavvy has a simple command for this operation which I use very often, almost daily.

0 Likes