# Request: git stash create --include-untracked

1 messages from 2015-11-12 to 2015-11-12. Participants: Gioele Barabucci.
Thread: https://gitlist.dev/t/40785

## Gioele Barabucci, 2015-11-12 10:58

Subject: Request: git stash create --include-untracked
Message-ID: <564470F0.7010105@svario.it>
URL: https://gitlist.dev/e/564470F0.7010105%40svario.it

```
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>

```
