* Request: git stash create --include-untracked
@ 2015-11-12 10:58 Gioele Barabucci
0 siblings, 0 replies; only message in thread
From: Gioele Barabucci @ 2015-11-12 10:58 UTC (permalink / raw)
To: git
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>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-12 11:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-12 10:58 Request: git stash create --include-untracked Gioele Barabucci
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.