LoginSignup
2
0

More than 5 years have passed since last update.

git stashのpopがうまくいかなかったお話

Posted at

gitのstashを使って一時的に退避させていた内容をpopしたかったのですが、うまくいかなかった現象に対するメモ。

$ git stash pop stash@{0}

fatal: ambiguous argument 'stash@0': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git [...] -- [...]'

こうすれば解決。

$ git stash pop stash@\{0\}

エスケープするだけで解決するんですね。

<参照>
http://helen.hatenablog.com/entry/2015/11/16/190338

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0