在 git 版本 1.7.9.5 上,尝试时
git stash show -p stash@{"Friday Smarch 13 13:13:13 2013"}
(来自Is it possible to choose a git stash when they are described by the date stashed?)
我收到错误消息
Too many revisions specified: stash@{Friday Smarch 13 13:13:13 2013}
尝试以下操作时,我也会收到相同的错误消息
git stash show "stash@{Friday Smarch 13 13:13:13 2013}"
git stash show -p stash@{Friday\ Smarch\ 13\ 13:13:13\ 2013}
我不认为逃避是原因。如果我做
git stash show -p stash@{Friday\ Smarch\ 13\ 13:13:13 2013}
然后我收到一条不同的错误消息:
fatal: ambiguous argument 'stash@{Friday Smarch 13 13:13:13': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
相比之下,做
git stash show -p stash@{42}
作品。
错误消息是什么意思,我该怎么办?