Would it be possible to extend current stash behaviour? Now it only allows to stash all and delete/keep changes in working directory which is useful but sometimes I would like to stash only some changes in my stash. Not all of them!
So far I'm using:
>> git stash save --patch
which brings console interactive mode.
Is this extension to current functionallity planned or maybe it could be planned for next releses? ;-)
BTW if I asked in wrong place, please give me a hint where I should do it ;-) I'm kinda new here.
__
Best Regards,
Andrzej
That's actually a kind of answer that I expected ;-)
The only way to acheive this currently is to stage the changes you don't want to stash. Then hit the Stash button and check the "keep staged changes" option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think it does not work this way.
I made a simple check:
Are you sure it works as you said?
PS Newest version 1.6.3.0
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So it sounds like the staged change ends up in both the working copy and the stash. Odd. You may need to commit that first, then stash the rest. Make sure to accept your feature request as a correct answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Answers is a community driven site. Questions like this one are perfectly suited here. Bugs should be reported to jira.atlassian.com, and account support should be directed to support.atlassian.com.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, if the answer to a "Can I..." or "How do I..." question is "You can't", then it would be appropriate to submit a feature request to jira.atlassian.com, but usually check here first to make sure you aren't missing something.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.