Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
MAMP和Git Git http推送_Git_Mamp - Fatal编程技术网

MAMP和Git Git http推送

MAMP和Git Git http推送,git,mamp,Git,Mamp,我想要一个git服务器在我的iMac上运行,可以远程访问(从工作或其他地方)。我完成了创建git存储库(git init--bare)的步骤,并打开了端口。 我成功地导入了git文件(其中没有任何内容),但当我进行本地更改(不是远程更改)并希望将其推送到服务器时,会出现以下错误(我替换了ip): 我在互联网上搜索该解决方案,但没有找到使用MAMP解决此问题的解决方案 它与?有关吗?您可以在 Pushing to http://name@[ip]:8888/gitprojects/test.git

我想要一个git服务器在我的iMac上运行,可以远程访问(从工作或其他地方)。我完成了创建git存储库(git init--bare)的步骤,并打开了端口。 我成功地导入了git文件(其中没有任何内容),但当我进行本地更改(不是远程更改)并希望将其推送到服务器时,会出现以下错误(我替换了ip):


我在互联网上搜索该解决方案,但没有找到使用MAMP解决此问题的解决方案

它与?有关吗?您可以在
Pushing to http://name@[ip]:8888/gitprojects/test.git
error: Cannot access URL http://name@[ip]:8888/gitprojects/test.git/, return code 22
fatal: git-http-push failed