J'essaie d'obtenir des informations sur ma réserve, mais git me le dit stash@{0}
et stash@{1}
est ambigu. git stash list
fonctionne bien, et .git/logs/refs/stash
semble avoir le contenu approprié (non pas que je sois un expert en interne de git).
% 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
Tout simplement git stash show
fonctionne bien. Alors pourquoi les noms qui git stash list
me donnent sont-ils considérés comme ambigus?
stash
, provoquant l'erreur!
stash
, ce qui causait l'erreur.