Ale*_*ith 7 git powershell git-stash posh-git
使用以下命令应用git存储时:
git stash apply stash@{1}
正如git stash文档中所建议的那样.
我收到错误:
unknown option: -encodedCommand error
Run Code Online (Sandbox Code Playgroud)
Ale*_*ith 16
我没有意识到......
我在powershell(使用posh-git),当然{}表示powershell代码.
因此,''中的'around'将确保powershell将其解释为字符串.
git stash apply 'stash@{1}'
Run Code Online (Sandbox Code Playgroud)
值得一提的是posh-git在按Tab键时自动填充名称(这让我意识到我的错误).
| 归档时间: |
|
| 查看次数: |
856 次 |
| 最近记录: |