I use git 2.7.2.windows.1. I encounter "C:\Program Files\Git\mingw64/libexec/git-core\git-stash cannot be used without a working tree." when I try to use git-stash command.
git worktree list command output:
E:/Git Repositories/test-desktop-client 63bb5ca [master]
How can I resolve this problem?
Try:
$ git --work-tree=. stash
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With