Текст ошибки:
Invocation failed Unexpected end of file from server
java.lang.RuntimeException: Invocation failed Unexpected end of file from server
at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30)
at git4idea.http.GitAskPassApp.main(GitAskPassApp.java:58)
...
error: unable to read askpass response from 'C:\Users\User\AppData\Local\Google\AndroidStudio2021.2\tmp\intellij-git-askpass-local.sh'
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com': No such file or directory
12:03:45.579: [SpinnerAndroidKotlin] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/main:main
Invocation failed Unexpected end of file from server
java.lang.RuntimeException: Invocation failed Unexpected end of file from server
at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30)
...
error: unable to read askpass response from 'C:\Users\User\AppData\Local\Google\AndroidStudio2021.2\tmp\intellij-git-askpass-local.sh'
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://github.com': No such file or directory
12:11:30.176: [SpinnerAndroidKotlin] git -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/main:main
����ࠡ�⠭��� �᪫�祭��: System.MissingMethodException: ��⮤ �� ������: "Void Microsoft.AzureRepos.AzureReposHostProvider..ctor(Microsoft.Git.CredentialManager.ICommandContext)".
� Microsoft.Git.CredentialManager.Program.Main(String[] args)
Invocation failed Unexpected end of file from server
java.lang.RuntimeException: Invocation failed Unexpected end of file from server
Пробовал выполнить следующие действия по инструкции из статьи (https://codeutility.org/git-pull-failed-invocation-failed-unexpected-end-of-file-from-server-stack-overflow/):
"Откройте терминал в Android Studio. Нажмите эту команду:
git config credential.helper store
Он запросит пароль, введите свой пароль. // в моём случае, пароль не запрашивал
Включите «Использовать помощник по учетным данным» в «Настройки» -> «Контроль версий» -> «Git». После этих двух шагов вы сможете тянуть, толкать, фиксировать."