From: Gioele Barabucci <gioele@svario•it>
To: git@vger•kernel.org
Subject: Request: git stash create --include-untracked
Date: Thu, 12 Nov 2015 11:58:56 +0100 [thread overview]
Message-ID: <564470F0.7010105@svario.it> (raw)
Hello,
`git stash create` does not accepts the same options that `git stash
save` accepts.
It would be handy to have `git stash create` accept
`-u`/`--include-untracked` and `-a`/`--all`. This would allow a very
simple "freeze-the-world-I-have-to-leave emergency backup" command such as
git push -f origin $(git stash create
-u):refs/heads/emergency/$USER-$(date +%s)
(Derived from <https://lwn.net/Articles/664137/> by user nybble41;
useful for <http://stackoverflow.com/q/10226586/449288>.)
Regards,
--
Gioele Barabucci <gioele@svario•it>
reply other threads:[~2015-11-12 11:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=564470F0.7010105@svario.it \
--to=gioele@svario$(echo .)it \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox