I'm trying to get info about my stash, but git is telling me that stash@{0}
and stash@{1}
are ambiguous. git stash list
works fine, and .git/logs/refs/stash
seems to have the appropriate content (not that I'm an expert on git internals).
% git stash list
stash@{0}: On master: two
stash@{1}: On master: one
% git stash show stash@{1}
fatal: ambiguous argument 'stash@1': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
Just plain git stash show
works fine. So why are the names that git stash list
gives me considered ambiguous?
stash
, which was causing the error. – Condorstash
, causing the error! – Pomerleau