desktop / desktop/dugite-native

git: 'stash' is not a git command

Open
#306 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
237
Forks
118
PR merge metrics
No merged PRs in 30d

Description

Firstly, many thanks for Dugite Native. All in all, it's excellent.

I've come across a problem on the Ubuntu builds, with versions 2.21, 2.19.2 and 2.16. With them, the error `git: 'stash' is not a git command` is given. On inspecting the `/libexec/git-core` folder, this is because whilst the other Git commands like `git-add` are shortcuts to the `git` executable in the same folder, `git-stash` is a small script, albeit with Stash commands like `pop` and `drop` within it. Some other Git commands are similar, although most are shortcuts. I note that this problem doesn't happen on the Windows versions.

I get the feeling that this might be intentional? Is there a work around?

Thanks in advance, Paul.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.