We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options git version 2.46.2.windows.1 cpu: x86_64 built from commit: 1e20af0e809e08cca5714727dfa0fb50c0c4664d sizeof-long: 4 sizeof-size_t: 8 shell-path: D:/git-sdk-64-build-installers/usr/bin/sh feature: fsmonitor--daemon libcurl: 8.10.1 OpenSSL: OpenSSL 3.2.3 3 Sep 2024 zlib: 1.3.1
Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver Microsoft Windows [Versión 10.0.19044.4529]
Any other interesting things about your environment that might be related to the issue you're seeing?
I am using MinGit with busybox.
Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
cmd
What commands did you run to trigger this issue?
$ git config --global alias.hello "!echo 'Hello World'"
What did you expect to occur after running these commands?
$ git hello Hello World
What actually happened instead?
$ git hello -c: applet not found
The text was updated successfully, but these errors were encountered:
It seems that it is trying to use busybox as a shell:
$ set GIT_TRACE=1 $ git hello 16:11:54.778289 exec-cmd.c:243 trace: resolved executable dir: C:/Users/user/Downloads/MinGit-2.46.2-busybox-64-bit/mingw64/bin 16:11:54.793944 git.c:758 trace: exec: git-hello 16:11:54.793944 run-command.c:667 trace: run_command: git-hello 16:11:54.793944 run-command.c:928 trace: start_command: git-hello 16:11:54.793944 run-command.c:667 trace: run_command: 'C:\Users\user\Downloads\MinGit-2.46.2-busybox-64-bit\mingw64\bin\busybox.exe' --help 16:11:54.793944 run-command.c:928 trace: start_command: 'C:\Users\user\Downloads\MinGit-2.46.2-busybox-64-bit\mingw64\bin\busybox.exe' --help 16:11:54.825164 run-command.c:667 trace: run_command: 'echo '\''Hello World'\''' 16:11:54.825164 run-command.c:928 trace: start_command: C:/Users/user/Downloads/MinGit-2.46.2-busybox-64-bit/mingw64/bin/busybox.exe -c 'echo '\''Hello World'\''' 'echo '\''Hello World'\''' -c: applet not found
and:
$ git var GIT_SHELL_PATH C:/Users/user/Downloads/MinGit-2.46.2-busybox-64-bit/mingw64/bin/busybox.exe
Shouldn't the shell be something like busybox.exe sh?
busybox.exe sh
Sorry, something went wrong.
No branches or pull requests
Setup
Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
Any other interesting things about your environment that might be related
to the issue you're seeing?
I am using MinGit with busybox.
Details
Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
cmd
What commands did you run to trigger this issue?
cmd
, create the following alias:What did you expect to occur after running these commands?
What actually happened instead?
The text was updated successfully, but these errors were encountered: