Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub Desktop: Git could not be found at the expected path

Tags:

git

github

I am new to GitHub and I am having trouble creating a new repo:

before-

before

After:

Then I get this error msg:

Git could not be found at the expected path: 
  '/Users/user/Downloads/GitHub Desktop.app/Contents/Resources/app/git/bin/git'. 
This might be a problem with how the application is packaged, 
so confirm this folder hasn't been removed when packaging.

What do I do?
Do I need to place my files in a certain folder?

like image 552
m.level Avatar asked Jul 01 '26 07:07

m.level


1 Answers

This question has been answered here : https://github.com/desktop/desktop/issues/4165 and it works to me. I repeat the process below:

  1. restart your computer
  2. uninstall GitHub Desktop
  3. delete %LOCALAPPDATA%\GitHubDesktop\ and %APPDATA%\GitHub Desktop
  4. install GitHub Desktop again
like image 59
H.C.Chen Avatar answered Jul 04 '26 01:07

H.C.Chen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!