When I attempt to apply a stash in SourceTree it returns this error:
git -c diff.mnemonicprefix=false -c core.quotepath=false stash apply stash@{0}
fatal: ambiguous argument 'stash@0': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
I'm able to successfully apply the stash using Git. Is there something I need to do to get stash working in SourceTree?
It's windows command line or cygwin problem, because { and } are special characters (I've got cygwin64 with git installed - set as system git - and got same problem).
You can reproduce it using cmd.exe and executing command: "git apply stash@{0}", when you add backslashes: "git apply stash@\{0\}" then it works fine.
Using embedded git solves the problem/
Hi Chris. Is this for Windows or Mac? Also, are you using embedded Git or system Git?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.