Skip to content

Instantly share code, notes, and snippets.

@parkerault
Last active July 11, 2019 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parkerault/51a1ab6caa295b74f2a44bda8aff829d to your computer and use it in GitHub Desktop.
Save parkerault/51a1ab6caa295b74f2a44bda8aff829d to your computer and use it in GitHub Desktop.
# in a fresh repository
$ git --version
git version 2.17.1
$ mkdir foo && touch -- foo/bar
$ git stash push -u -m "test" foo
Saved working directory and index state On improvement/pam2-2779-add-types-to-entitiy-models: test
fatal: pathspec 'foo' did not match any files
error: unrecognized input
$ git stash show stash@{0}
# no output
$ ls -l
total 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment