我是GitHub的新手,我在创建新的回购邮件时遇到了麻烦:
前 -
后:
然后我收到此错误消息:
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.
我该怎么办? 我是否需要将文件放在某个文件夹中?
答案 0 :(得分:2)
此问题已在此处得到解答:https://github.com/desktop/desktop/issues/4165 它对我有用。我重复以下过程:
答案 1 :(得分:0)
也许你应该改变你的GitHub桌面配置:
无法在预期的路径找到Git:' / Users / user / Downloads / GitHub Desktop.app/Contents/Resources/app/git/bin/git'。
答案 2 :(得分:-1)
请改为:
使用git clone https://github.com/ / .git在/path/to/project1
git clone https://github.com/<user>/<repo>.git /path/to/project1
将该路径(拖放)导入GitHub Desktop
Kamaltejveerapaneni在issue 1638中发表了评论(并在下面的另一期中得到确认):
我重新安装它时工作正常