Skip to content

Windows Error: Program 'git' must be installed #46

New issue

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

Open
cope opened this issue Jan 15, 2023 · 2 comments
Open

Windows Error: Program 'git' must be installed #46

cope opened this issue Jan 15, 2023 · 2 comments

Comments

@cope
Copy link

cope commented Jan 15, 2023

In WSL it works like a charm, but in Windows I get the Error: Program 'git' must be installed error, because 'which' is not recognized as an internal or external command 😞

I tried using Set-Alias which where.exe and it works on the command line:

PS C:\windows\system32> which git
C:\Program Files\Git\cmd\git.exe

But I still get

'which' is not recognized as an internal or external command,
operable program or batch file.
Error: Program 'git' must be installed

😞

@cope
Copy link
Author

cope commented Jan 16, 2023

I think that assertGitIsInstalled() is not needed. If git is not install, trying to call it would throw an error.

@kireerik
Copy link

kireerik commented Jan 1, 2024

Yes, I agree. We should remove it. @simonrenoult What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants