diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2017-02-28 20:33:38 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-02-28 14:21:05 -0800 |
commit | df6bba0937209d679a06addd26975593fef744f2 (patch) | |
tree | a4f22b7e2d13ff8fadc931d4002136259b9a0f38 /t/t5509-fetch-push-namespaces.sh | |
parent | stash: refactor stash_create (diff) | |
download | tgif-df6bba0937209d679a06addd26975593fef744f2.tar.xz |
stash: teach 'push' (and 'create_stash') to honor pathspec
While working on a repository, it's often helpful to stash the changes
of a single or multiple files, and leave others alone. Unfortunately
git currently offers no such option. git stash -p can be used to work
around this, but it's often impractical when there are a lot of changes
over multiple files.
Allow 'git stash push' to take pathspec to specify which paths to stash.
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5509-fetch-push-namespaces.sh')
0 files changed, 0 insertions, 0 deletions