Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/17.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/22.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
Windows 我不能用乌龟来推动局部修改_Windows_Git_Debian_Tortoisegit - Fatal编程技术网

Windows 我不能用乌龟来推动局部修改

Windows 我不能用乌龟来推动局部修改,windows,git,debian,tortoisegit,Windows,Git,Debian,Tortoisegit,我需要你的帮助,实际上我已经在我的debian服务器上安装了git,然后在上面创建了我的远程存储库。我还在我的windows客户端上安装了Ortoisegit 我已经毫无问题地将我的存储库从debian服务器克隆到windows客户端,但当我修改本地存储库(windows客户端)并尝试使用TortoiseGit推送到远程存储库(debian服务器)时,我遇到了一个问题 它停留在: git.exe push --progress "origin" master:master Enumerating

我需要你的帮助,实际上我已经在我的debian服务器上安装了git,然后在上面创建了我的远程存储库。我还在我的windows客户端上安装了Ortoisegit

我已经毫无问题地将我的存储库从debian服务器克隆到windows客户端,但当我修改本地存储库(windows客户端)并尝试使用TortoiseGit推送到远程存储库(debian服务器)时,我遇到了一个问题

它停留在:

git.exe push --progress "origin" master:master
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Writing objects: 100% (3/3), 249 bytes | 62.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
无法关闭窗口,有进度条,我只有一个选项“中止”


有人会遇到类似的情况吗?或者有人能帮我吗?

使用命令行尝试相同的推送操作,将一个和一个便携式Git(类似)解压缩到您想要的任何位置

set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\
set GH=C:\path\to\git
set PATH=%GH%\bin;%GH%\usr\bin;%GH%\mingw64\bin;%PATH%
查看推送是否成功。

如果没有,请通过连接到服务器并在目标裸机repo中运行
git status
来检查远程repo的状态。

是否可以编辑您的问题以包含更多信息:您是使用SSH还是HTTP连接?您是在Debian上使用git托管平台,还是只是一个git存储库?它是一个git存储库,在我的windows客户端上,我使用tortoisegit推送。这是与ssh有关的。