Git Клон работает с CMD, но не с PowerShell - PullRequest
2 голосов
/ 17 июня 2020

Я могу без проблем клонировать конкретный репозиторий с помощью cmd.exe, но он не работает с PowerShell.

  • Git Версия: 2.27.0. windows .1
  • Необходимые сертификаты были добавлены в git install dir \ mingw64 \ ssl \ certs \ ca-bundle.crt

Ошибка PowerShell

PS D:\git> git clone https://foo/bar.git
Cloning into 'foobar'...
remote: Enumerating objects: 1352, done.
remote: Counting objects: 100% (1352/1352), done.
remote: Compressing objects: 100% (1016/1016), done.
error: RPC failed; curl 56 Malformed encoding found in chunked-encoding
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Фрагменты из моего .gitconfig

Я уже добавил следующие свойства после поиска проблемы в Google:

file:C:/users/doej1/.gitconfig     core.longpaths=true
file:C:/users/doej1/.gitconfig     core.autocrlf=true
file:C:/users/doej1/.gitconfig     http.postbuffer=524288000

Почему он работает с cmd.exe, но не с PowerShell?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...