diff options
| author | Sergey Organov <sorganov@gmail.com> | 2021-10-18 19:09:06 +0300 | 
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-10-18 13:09:21 -0700 | 
| commit | 41a28eb6c124bd06ca4a4fea9a1da3178a09467b (patch) | |
| tree | dacbe04e52142eaa2214c6ed926cf3385d04495b /builtin/commit.c | |
| parent | f443b226ca681d87a3a31e245a70e6bc2769123c (diff) | |
stash: implement '--staged' option for 'push' and 'save'
Stash only the changes that are staged.
This mode allows to easily stash-out for later reuse some changes
unrelated to the current work in progress.
Unlike 'stash push --patch', --staged supports use of any tool to
select the changes to stash-out, including, but not limited to 'git
add --interactive'.
Signed-off-by: Sergey Organov <sorganov@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
