git stash save -- just_my_file.txt
$ git stash push -m "my example stash" example.txt
$ git stash push example.txt
$ git stash -- filename.ext
# interactive
git stash -p
# interactive with message
git stash -pm "message"
#to make git stash not the whole branch but for a specific file.
#git stash push -m <the specific branch name> <the specific file directory i.e:"app/views/cart/welcome.thtml">
git stash push -m welcome_cart "app/views/cart/welcome.thtml"
git stash push -m welcome_cart app/views/cart/welcome.thtml
git stash save myWork
git stash show -p > myWork.txt
git stash push <path>
git diff stash^! -- path/to/relevant/file/in/stash.ext perhaps/another/file.ext > my.patch
git apply < my.patch
# interactive
git stash -p