Перейти к публикации
  • Сейчас на странице   Всего пользователей: 3   (0 пользователей, 3 гостя)

Rooster

Программирование[10]

Перепись  

313 пользователей проголосовало

У вас нет прав на голосование в этом опросе, или на просмотр результатов опроса. Пожалуйста, войдите или зарегистрируйтесь для голосования в опросе.

Рекомендованные сообщения

Rilay написал 3 минуты назад:

Да придется ещё уточнить что клонировал я тем что качал файлы, а пулил тем что удалял и качал их заново думаю после такого я сойду не за тупого, а за далбаеба

ты просто не понял мощь гита

 

примерно такое делают люди, которые боятся всякие разные команды делать, типо клонируют в несколько мест один репозиторий, чтобы если что был рабочий проект

 

а ты в условиях пиздеца работаешь как получается, так шо не ссыкуй, посмеетесь 5 минут и забудете

Поделиться сообщением


Ссылка на сообщение
(изменено)

А смысл уточнять? Если не спросит то нехуй уточнять, не? 

Rilay написал 10 минут назад:

Да придется ещё уточнить что клонировал я тем что качал файлы, а пулил тем что удалял и качал их заново думаю после такого я сойду не за тупого, а за далбаеба

Ну, можно ещё быть тупым долбоебом так что всё нормально:pepethink:


Изменено пользователем bitrix

AFD написал 5 часов назад:

Говно от тебя это как бальзам на душу, радость ты моя. 

[19:35:37] Dlich: бітріх єто і есть вершіна

[19:37:07] nuclear blast: твой iдол?

[19:39:45] Dlich: мой ідол.

Поделиться сообщением


Ссылка на сообщение

Ну а че я напишу

Слушай я две недели на самом деле вручную коммитил, не подскажешь к кому обратиться чтобы мне помогли гитлаб настроить??

Rain/Zero понравилось это

Лучший юзер — Rilay

 

Поделиться сообщением


Ссылка на сообщение

сделай 
SET GIT_TRACE=1
и

SET GCM_TRACE=1

повтори свои команды и скинь че получилось

Поделиться сообщением


Ссылка на сообщение

@Rilay ты когда через веб версию заходишь, ты только сертификат выбираешь в браузере и все, дополнительно логина пароля нет у тебя? В инкогнито можешь зайти чтобы убедиться.

Поделиться сообщением


Ссылка на сообщение
DeadMage написал 5 минут назад:

логина пароля нет у тебя

есть

 

Drakonian написал 8 минут назад:

сделай 
SET GIT_TRACE=1
и

SET GCM_TRACE=1

повтори свои команды и скинь че получилось

Скрытый текст

 

C:\Users\HuTao>SET GIT_TRACE=1

C:\Users\HuTao>SET GCM_TRACE=1

C:\Users\HuTao>git -c http.sslVerify=false -c http.https://gitlab.gpmrge.ru.sslCertPasswordProtected=1 -c http.https://gitlab.gpmrge.ru.sslCert=C:\Users\HuTao\cert\pak.pem clone https://gitlab.gpmrge.ru/svd/svd.git
15:19:56.271506 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
15:19:56.272503 git.c:455               trace: built-in: git clone https://gitlab.gpmrge.ru/svd/svd.git
Cloning into 'svd'...
15:19:56.290455 run-command.c:666       trace: run_command: git remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:19:56.309404 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:19:56.310403 git.c:744               trace: exec: git-remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:19:56.310403 run-command.c:666       trace: run_command: git-remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:19:56.332343 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:19:56.348300 run-command.c:666       trace: run_command: 'git credential-manager-core get'
15:19:56.394178 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:19:56.395175 git.c:744               trace: exec: git-credential-manager-core get
15:19:56.395175 run-command.c:666       trace: run_command: git-credential-manager-core get
15:19:56.515852 ...\Application.cs:80   trace: [RunInternalAsync] Version: 2.0.498.54650
15:19:56.516850 ...\Application.cs:81   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
15:19:56.516850 ...\Application.cs:82   trace: [RunInternalAsync] Platform: Windows (x86-64)
15:19:56.517847 ...\Application.cs:83   trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\libexec\git-core\git-credential-manager-core.exe
15:19:56.517847 ...\Application.cs:84   trace: [RunInternalAsync] Arguments: get
15:19:56.575692 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'get' command...
fatal: Invalid 'host' input argument (cannot be empty)
15:19:56.620573 run-command.c:666       trace: run_command: bash -c 'cat >/dev/tty && read -r -s line </dev/tty && echo "$line" && echo >/dev/tty'
Password for 'cert:///C:\Users\HuTao\cert\pak.pem':
15:20:46.572187 run-command.c:666       trace: run_command: 'git credential-manager-core erase'
15:20:46.623053 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:20:46.624049 git.c:744               trace: exec: git-credential-manager-core erase
15:20:46.624049 run-command.c:666       trace: run_command: git-credential-manager-core erase
15:20:46.736748 ...\Application.cs:80   trace: [RunInternalAsync] Version: 2.0.498.54650
15:20:46.737745 ...\Application.cs:81   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
15:20:46.738743 ...\Application.cs:82   trace: [RunInternalAsync] Platform: Windows (x86-64)
15:20:46.738743 ...\Application.cs:83   trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\libexec\git-core\git-credential-manager-core.exe
15:20:46.739740 ...\Application.cs:84   trace: [RunInternalAsync] Arguments: erase
15:20:46.794104 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'erase' command...
fatal: Invalid 'host' input argument (cannot be empty)
fatal: Authentication failed for 'https://gitlab.gpmrge.ru/svd/svd.git/'

C:\Users\HuTao>

 

 

Скрытый текст

 

C:\Users\HuTao>git -c http.sslVerify=false -c http.https://gitlab.gpmrge.ru.sslCertPasswordProtected=0 -c http.https://gitlab.gpmrge.ru.sslCert=C:\Users\HuTao\cert\pak.pem clone https://gitlab.gpmrge.ru/svd/svd.git
15:21:13.006288 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
15:21:13.007285 git.c:455               trace: built-in: git clone https://gitlab.gpmrge.ru/svd/svd.git
Cloning into 'svd'...
15:21:13.022245 run-command.c:666       trace: run_command: git remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:21:13.038202 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:21:13.039199 git.c:744               trace: exec: git-remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:21:13.039199 run-command.c:666       trace: run_command: git-remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:21:13.059146 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
Enter PEM pass phrase:

fatal: refusing to work with credential missing host field

C:\Users\HuTao>

 

 

 

 

 


Лучший юзер — Rilay

 

Поделиться сообщением


Ссылка на сообщение
Rilay написал 5 минут назад:

 

Drakonian написал 15 минут назад:

сделай 
SET GIT_TRACE=1
и

SET GCM_TRACE=1

повтори свои команды и скинь че получилось

  Скрыть содержимое

 

C:\Users\HuTao>SET GIT_TRACE=1

C:\Users\HuTao>SET GCM_TRACE=1

C:\Users\HuTao>git -c http.sslVerify=false -c http.https://gitlab.gpmrge.ru.sslCertPasswordProtected=1 -c http.https://gitlab.gpmrge.ru.sslCert=C:\Users\HuTao\cert\pak.pem clone https://gitlab.gpmrge.ru/svd/svd.git
15:19:56.271506 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
15:19:56.272503 git.c:455               trace: built-in: git clone https://gitlab.gpmrge.ru/svd/svd.git
Cloning into 'svd'...
15:19:56.290455 run-command.c:666       trace: run_command: git remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:19:56.309404 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:19:56.310403 git.c:744               trace: exec: git-remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:19:56.310403 run-command.c:666       trace: run_command: git-remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:19:56.332343 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:19:56.348300 run-command.c:666       trace: run_command: 'git credential-manager-core get'
15:19:56.394178 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:19:56.395175 git.c:744               trace: exec: git-credential-manager-core get
15:19:56.395175 run-command.c:666       trace: run_command: git-credential-manager-core get
15:19:56.515852 ...\Application.cs:80   trace: [RunInternalAsync] Version: 2.0.498.54650
15:19:56.516850 ...\Application.cs:81   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
15:19:56.516850 ...\Application.cs:82   trace: [RunInternalAsync] Platform: Windows (x86-64)
15:19:56.517847 ...\Application.cs:83   trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\libexec\git-core\git-credential-manager-core.exe
15:19:56.517847 ...\Application.cs:84   trace: [RunInternalAsync] Arguments: get
15:19:56.575692 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'get' command...
fatal: Invalid 'host' input argument (cannot be empty)
15:19:56.620573 run-command.c:666       trace: run_command: bash -c 'cat >/dev/tty && read -r -s line </dev/tty && echo "$line" && echo >/dev/tty'
Password for 'cert:///C:\Users\HuTao\cert\pak.pem':
15:20:46.572187 run-command.c:666       trace: run_command: 'git credential-manager-core erase'
15:20:46.623053 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:20:46.624049 git.c:744               trace: exec: git-credential-manager-core erase
15:20:46.624049 run-command.c:666       trace: run_command: git-credential-manager-core erase
15:20:46.736748 ...\Application.cs:80   trace: [RunInternalAsync] Version: 2.0.498.54650
15:20:46.737745 ...\Application.cs:81   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
15:20:46.738743 ...\Application.cs:82   trace: [RunInternalAsync] Platform: Windows (x86-64)
15:20:46.738743 ...\Application.cs:83   trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\libexec\git-core\git-credential-manager-core.exe
15:20:46.739740 ...\Application.cs:84   trace: [RunInternalAsync] Arguments: erase
15:20:46.794104 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'erase' command...
fatal: Invalid 'host' input argument (cannot be empty)
fatal: Authentication failed for 'https://gitlab.gpmrge.ru/svd/svd.git/'

C:\Users\HuTao>

 

 

Похоже шо у тебя git-credential-manager-core чем то не доволен. Попробуй

SET GIT_TRACE=1
SET GCM_TRACE=1
git -c credential.helper=manager -c http.sslVerify=false -c http.https://gitlab.gpmrge.ru.sslCertPasswordProtected=1 -c http.https://gitlab.gpmrge.ru.sslCert=C:\Users\HuTao\cert\pak.pem clone https://gitlab.gpmrge.ru/svd/svd.git

 

Поделиться сообщением


Ссылка на сообщение
DeadMage написал 4 минуты назад:
Rilay написал 15 минут назад:

 

Drakonian написал 24 минуты назад:

сделай 
SET GIT_TRACE=1
и

SET GCM_TRACE=1

повтори свои команды и скинь че получилось

  Показать содержимое

 

C:\Users\HuTao>SET GIT_TRACE=1

C:\Users\HuTao>SET GCM_TRACE=1

C:\Users\HuTao>git -c http.sslVerify=false -c http.https://gitlab.gpmrge.ru.sslCertPasswordProtected=1 -c http.https://gitlab.gpmrge.ru.sslCert=C:\Users\HuTao\cert\pak.pem clone https://gitlab.gpmrge.ru/svd/svd.git
15:19:56.271506 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
15:19:56.272503 git.c:455               trace: built-in: git clone https://gitlab.gpmrge.ru/svd/svd.git
Cloning into 'svd'...
15:19:56.290455 run-command.c:666       trace: run_command: git remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:19:56.309404 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:19:56.310403 git.c:744               trace: exec: git-remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:19:56.310403 run-command.c:666       trace: run_command: git-remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:19:56.332343 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:19:56.348300 run-command.c:666       trace: run_command: 'git credential-manager-core get'
15:19:56.394178 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:19:56.395175 git.c:744               trace: exec: git-credential-manager-core get
15:19:56.395175 run-command.c:666       trace: run_command: git-credential-manager-core get
15:19:56.515852 ...\Application.cs:80   trace: [RunInternalAsync] Version: 2.0.498.54650
15:19:56.516850 ...\Application.cs:81   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
15:19:56.516850 ...\Application.cs:82   trace: [RunInternalAsync] Platform: Windows (x86-64)
15:19:56.517847 ...\Application.cs:83   trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\libexec\git-core\git-credential-manager-core.exe
15:19:56.517847 ...\Application.cs:84   trace: [RunInternalAsync] Arguments: get
15:19:56.575692 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'get' command...
fatal: Invalid 'host' input argument (cannot be empty)
15:19:56.620573 run-command.c:666       trace: run_command: bash -c 'cat >/dev/tty && read -r -s line </dev/tty && echo "$line" && echo >/dev/tty'
Password for 'cert:///C:\Users\HuTao\cert\pak.pem':
15:20:46.572187 run-command.c:666       trace: run_command: 'git credential-manager-core erase'
15:20:46.623053 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:20:46.624049 git.c:744               trace: exec: git-credential-manager-core erase
15:20:46.624049 run-command.c:666       trace: run_command: git-credential-manager-core erase
15:20:46.736748 ...\Application.cs:80   trace: [RunInternalAsync] Version: 2.0.498.54650
15:20:46.737745 ...\Application.cs:81   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
15:20:46.738743 ...\Application.cs:82   trace: [RunInternalAsync] Platform: Windows (x86-64)
15:20:46.738743 ...\Application.cs:83   trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\libexec\git-core\git-credential-manager-core.exe
15:20:46.739740 ...\Application.cs:84   trace: [RunInternalAsync] Arguments: erase
15:20:46.794104 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'erase' command...
fatal: Invalid 'host' input argument (cannot be empty)
fatal: Authentication failed for 'https://gitlab.gpmrge.ru/svd/svd.git/'

C:\Users\HuTao>

 

 

Похоже шо у тебя git-credential-manager-core чем то не доволен. Попробуй


SET GIT_TRACE=1
SET GCM_TRACE=1
git -c credential.helper=manager -c http.sslVerify=false -c http.https://gitlab.gpmrge.ru.sslCertPasswordProtected=1 -c http.https://gitlab.gpmrge.ru.sslCert=C:\Users\HuTao\cert\pak.pem clone https://gitlab.gpmrge.ru/svd/svd.git

 

Скрытый текст

C:\Users\HuTao>git -c credential.helper=manager -c http.sslVerify=false -c http.https://gitlab.gpmrge.ru.sslCertPasswordProtected=1 -c http.https://gitlab.gpmrge.ru.sslCert=C:\Users\HuTao\cert\pak.pem clone https://gitlab.gpmrge.ru/svd/svd.git
15:36:27.593538 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
15:36:27.593538 git.c:455               trace: built-in: git clone https://gitlab.gpmrge.ru/svd/svd.git
Cloning into 'svd'...
15:36:27.611489 run-command.c:666       trace: run_command: git remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:36:27.630438 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:36:27.631437 git.c:744               trace: exec: git-remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:36:27.631437 run-command.c:666       trace: run_command: git-remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
15:36:27.657367 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:36:27.668340 run-command.c:666       trace: run_command: 'git credential-manager-core get'
15:36:27.720201 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:36:27.721199 git.c:744               trace: exec: git-credential-manager-core get
15:36:27.721199 run-command.c:666       trace: run_command: git-credential-manager-core get
15:36:27.850853 ...\Application.cs:80   trace: [RunInternalAsync] Version: 2.0.498.54650
15:36:27.852847 ...\Application.cs:81   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
15:36:27.852847 ...\Application.cs:82   trace: [RunInternalAsync] Platform: Windows (x86-64)
15:36:27.854841 ...\Application.cs:83   trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\libexec\git-core\git-credential-manager-core.exe
15:36:27.854841 ...\Application.cs:84   trace: [RunInternalAsync] Arguments: get
15:36:27.913684 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'get' command...
fatal: Invalid 'host' input argument (cannot be empty)
15:36:27.951583 run-command.c:666       trace: run_command: 'git credential-manager get'
15:36:28.001449 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:36:28.003444 git.c:744               trace: exec: git-credential-manager get
15:36:28.003444 run-command.c:666       trace: run_command: git-credential-manager get
15:36:28.081563 ...\Common.cs:744       trace: [Main] git-credential-manager (v1.20.0) 'get'
15:36:28.137414 ...\Git\Where.cs:348    trace: [FindGitInstallations] found 1 Git installation(s).
15:36:28.152374 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 18 entries.
15:36:28.253105 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'cert://C:/Users/HuTao/cert/pak.pem'.
15:36:28.268065 ...\Common.cs:224       trace: [CreateAuthentication] authority for 'cert://C:/Users/HuTao/cert/pak.pem' is basic with NTLM=Auto.
15:36:28.268065 ...\Common.cs:765       trace: [QueryCredentials] querying 'Auto' for credentials.
15:36:28.289009 ...\Common.cs:780       trace: [QueryCredentials] credentials found.
15:36:28.317931 run-command.c:666       trace: run_command: 'git credential-manager-core erase'
15:36:28.370790 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:36:28.371788 git.c:744               trace: exec: git-credential-manager-core erase
15:36:28.371788 run-command.c:666       trace: run_command: git-credential-manager-core erase
15:36:28.534353 ...\Application.cs:80   trace: [RunInternalAsync] Version: 2.0.498.54650
15:36:28.535350 ...\Application.cs:81   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
15:36:28.536347 ...\Application.cs:82   trace: [RunInternalAsync] Platform: Windows (x86-64)
15:36:28.536347 ...\Application.cs:83   trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\libexec\git-core\git-credential-manager-core.exe
15:36:28.537345 ...\Application.cs:84   trace: [RunInternalAsync] Arguments: erase
15:36:28.598182 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'erase' command...
fatal: Invalid 'host' input argument (cannot be empty)
15:36:28.643063 run-command.c:666       trace: run_command: 'git credential-manager erase'
15:36:28.691931 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
15:36:28.693927 git.c:744               trace: exec: git-credential-manager erase
15:36:28.693927 run-command.c:666       trace: run_command: git-credential-manager erase
15:36:28.771718 ...\Common.cs:744       trace: [Main] git-credential-manager (v1.20.0) 'erase'
15:36:28.794657 ...\Program.cs:601      trace: [Run] ! error: 'queryUrl'.
15:36:28.797649 ...\Common.cs:709       trace: [LogEvent] System.UriFormatException: queryUrl
   в Microsoft.Alm.Authentication.TargetUri..ctor(String queryUrl, String proxyUrl, String actualUrl)
   в Microsoft.Alm.Cli.OperationArguments.CreateTargetUri()
   в Microsoft.Alm.Cli.OperationArguments.<ReadInput>d__103.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
   в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   в Microsoft.Alm.Cli.Program.<<Erase>b__23_0>d.MoveNext()
15:36:28.799644 ...\Program.cs:601      trace: [Run] fatal: UriFormatException encountered.
   queryUrl
fatal: UriFormatException encountered.
   queryUrl
fatal: Authentication failed for 'https://gitlab.gpmrge.ru/svd/svd.git/'

C:\Users\HuTao>

он мне предложил ввести логин пароль от сертификата я хз какой логин и пароль надо было вводить


Лучший юзер — Rilay

 

Поделиться сообщением


Ссылка на сообщение

возможно в конфиге нужно добавить
 

[credential]
    helper = C:\Program Files\\Git\\mingw64\\libexec\\git-core\\git-credential-manager-core

или

 

[credential]
	helper =
    helper = C:\Program Files\\Git\\mingw64\\libexec\\git-core\\git-credential-manager-core

 

а це шо? че за NTLM... разве не должен быть login/password?

 

15:36:28.268065 ...\Common.cs:224       trace: [CreateAuthentication] authority for 'cert://C:/Users/HuTao/cert/pak.pem' is basic with NTLM=Auto.
15:36:28.268065 ...\Common.cs:765       trace: [QueryCredentials] querying 'Auto' for credentials.
15:36:28.289009 ...\Common.cs:780       trace: [QueryCredentials] credentials found.

Поделиться сообщением


Ссылка на сообщение
Скрытый текст

C:\Users\HuTao>git -c credential.helper=manager -c http.sslVerify=false -c http.https://gitlab.gpmrge.ru.sslCertPasswordProtected=1 -c http.https://gitlab.gpmrge.ru.sslCert=C:\Users\HuTao\cert\pak.pem clone https://gitlab.gpmrge.ru/svd/svd.git
15:42:44.659455 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
fatal: bad config line 16 in file C:/Users/HuTao/.gitconfig

^в первом случае

 

Скрытый текст

C:\Users\HuTao>git -c credential.helper=manager -c http.sslVerify=false -c http.https://gitlab.gpmrge.ru.sslCertPasswordProtected=1 -c http.https://gitlab.gpmrge.ru.sslCert=C:\Users\HuTao\cert\pak.pem clone https://gitlab.gpmrge.ru/svd/svd.git
15:42:44.659455 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
fatal: bad config line 16 in file C:/Users/HuTao/.gitconfig

^во втором случае


Лучший юзер — Rilay

 

Поделиться сообщением


Ссылка на сообщение

а это уже не важно
команда от deadmage должна была решить любую траблу, ты типа мимо конфига делал
у тебя спрашивало пароль и логин, у вас нету какого-то рабочего имейла с доменом вашим? я бы их вводил 

Поделиться сообщением


Ссылка на сообщение
Drakonian написал 2 минуты назад:

а это уже не важно
команда от deadmage должна была решить любую траблу, ты типа мимо конфига делал
у тебя спрашивало пароль и логин, у вас нету какого-то рабочего имейла с доменом вашим? я бы их вводил 

да нет хз есть лог пасс от гитлаба я их ввел


Лучший юзер — Rilay

 

Поделиться сообщением


Ссылка на сообщение
(изменено)

protocol=https
host=gitlab.com

у тебя эти конфиги где-то должны быть
проблема в том, что когда ты обращаешься к credential manager у тебя нету параметра host и поэтому все валится

а напиши ка 

SET GIT_TRACE=1
SET GCM_TRACE=1
git credential fill
protocol=https
host=github.com'

 

только там должен быть у тебя gitlub.com наверное вместо github  или даже gitlab.gpmrge.ru тут хз

 

попробуй еще ебануть
 

git config --global credential.provider generic

а потом команду deadmage


Изменено пользователем Drakonian

Поделиться сообщением


Ссылка на сообщение
Drakonian написал 7 минут назад:

возможно в конфиге нужно добавить
 


[credential]
    helper = C:\Program Files\\Git\\mingw64\\libexec\\git-core\\git-credential-manager-core

или

 


[credential]
	helper =
    helper = C:\Program Files\\Git\\mingw64\\libexec\\git-core\\git-credential-manager-core

 

У него и так вызывается этот credential helper, там все нормально с конфигом. Проблема похоже в том что git не передает host в хелпер, а дефолтные хелперы на винде (manager и manager-core) его ожидают. Вот лог здорового человека:

  Показать содержимое

13:42:55.311663 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
13:42:55.316663 git.c:455               trace: built-in: git pull
13:42:55.323707 run-command.c:667       trace: run_command: git fetch --update-head-ok
13:42:55.336694 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
13:42:55.340682 git.c:455               trace: built-in: git fetch --update-head-ok
13:42:55.356677 run-command.c:667       trace: run_command: GIT_DIR=.git git remote-https origin https://github.com/jfhs/mylang.git
13:42:55.366673 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
13:42:55.368673 git.c:744               trace: exec: git-remote-https origin https://github.com/jfhs/mylang.git
13:42:55.368673 run-command.c:667       trace: run_command: git-remote-https origin https://github.com/jfhs/mylang.git
13:42:55.383669 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
13:42:55.581366 run-command.c:667       trace: run_command: 'git credential-manager-core get'
13:42:55.648317 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
13:42:55.650317 git.c:744               trace: exec: git-credential-manager-core get
13:42:55.650317 run-command.c:667       trace: run_command: git-credential-manager-core get
13:42:55.793271 ...\Application.cs:80   trace: [RunInternalAsync] Version: 2.0.474.41365
13:42:55.798269 ...\Application.cs:81   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
13:42:55.798269 ...\Application.cs:82   trace: [RunInternalAsync] Platform: Windows (x86-64)
13:42:55.799270 ...\Application.cs:83   trace: [RunInternalAsync] AppPath: git-credential-manager-core
13:42:55.799270 ...\Application.cs:84   trace: [RunInternalAsync] Arguments: get
13:42:55.898237 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'get' command...
13:42:55.909253 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Detecting host provider for input:
13:42:55.911252 ...GitCommandBase.cs:50 trace: [ExecuteAsync]   protocol=https
13:42:55.911252 ...GitCommandBase.cs:50 trace: [ExecuteAsync]   host=github.com

13:42:55.973213 ...viderRegistry.cs:149 trace: [GetProviderAsync] Performing auto-detection of host provider.
13:42:55.974213 ...viderRegistry.cs:162 trace: [GetProviderAsync] Checking against 3 host providers registered with priority 'Normal'.
13:42:55.976219 ...GitCommandBase.cs:52 trace: [ExecuteAsync] Host provider 'GitHub' was selected.
13:42:55.979218 ...\HostProvider.cs:128 trace: [GetCredentialAsync] Looking for existing credential in store with service=https://github.com account=...
13:42:55.984209 ...\HostProvider.cs:142 trace: [GetCredentialAsync] Existing credential found.
13:42:55.985209 ...GitCommandBase.cs:56 trace: [ExecuteAsync] End 'get' command...

Судя по коду хост не передается потому как git хочет пароль для сертификата, и в этом случае почему-то всегда отправляет пустую строку: https://github.com/git/git/blob/9d530dc0024503ab4218fe6c4395b8a0aa245478/http.c#L496
Попробуй такой конфиг:
[credential "cert://C:/Users/HuTao/cert/pak.pem"]
	username = whatever
	helper = "!f() { test \"$1\" = get && echo \"password=ТУТ ПАРОЛЬ ОТ СЕРТИФИКАТА\"; }; f"
[credential "https://gitlab.gpmrge.ru"]
	username = ЮЗЕР ГИТЛАБА
	helper = "!f() { test \"$1\" = get && echo \"password=ТУТ ПАРОЛЬ ОТ ГИТЛАБА\"; }; f"

 

Поделиться сообщением


Ссылка на сообщение

Я написал то сообщение перед тем как увидел его лог....

 

DeadMage понравилось это

Поделиться сообщением


Ссылка на сообщение
Rilay написал 1 час назад:

Да придется ещё уточнить что клонировал я тем что качал файлы, а пулил тем что удалял и качал их заново думаю после такого я сойду не за тупого, а за далбаеба

Блять :lol::lol::lol:

Поделиться сообщением


Ссылка на сообщение

Зато какой урок

лучше спросить и казаться тупым

чем не спросить и быть конченым долбаебом 

 

Rain/Zero, CriErr, m()stEVIL и 1 другому понравилось это

Поделиться сообщением


Ссылка на сообщение
Drakonian написал 6 минут назад:

Зато какой урок

лучше спросить и казаться тупым

чем не спросить и быть конченым долбаебом 

 

Погоди. ИМХО, лучше подождать еще несколько месяцев, когда его возьмут в штат, он проработает еще год и тут не выдержит и спросит, а как все-таки пулить с репозитория. Вот это будет бомба!

PS До Rilay не доходит, что чем дольше он ждет, тем большим долбоебом будет выглядеть

Поделиться сообщением


Ссылка на сообщение
DeadMage написал 22 минуты назад:
Drakonian написал 43 минуты назад:

возможно в конфиге нужно добавить
 



[credential]
    helper = C:\Program Files\\Git\\mingw64\\libexec\\git-core\\git-credential-manager-core

или

 



[credential]
	helper =
    helper = C:\Program Files\\Git\\mingw64\\libexec\\git-core\\git-credential-manager-core

 

У него и так вызывается этот credential helper, там все нормально с конфигом. Проблема похоже в том что git не передает host в хелпер, а дефолтные хелперы на винде (manager и manager-core) его ожидают. Вот лог здорового человека:

  Показать содержимое

13:42:55.311663 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
13:42:55.316663 git.c:455               trace: built-in: git pull
13:42:55.323707 run-command.c:667       trace: run_command: git fetch --update-head-ok
13:42:55.336694 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
13:42:55.340682 git.c:455               trace: built-in: git fetch --update-head-ok
13:42:55.356677 run-command.c:667       trace: run_command: GIT_DIR=.git git remote-https origin https://github.com/jfhs/mylang.git
13:42:55.366673 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
13:42:55.368673 git.c:744               trace: exec: git-remote-https origin https://github.com/jfhs/mylang.git
13:42:55.368673 run-command.c:667       trace: run_command: git-remote-https origin https://github.com/jfhs/mylang.git
13:42:55.383669 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
13:42:55.581366 run-command.c:667       trace: run_command: 'git credential-manager-core get'
13:42:55.648317 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
13:42:55.650317 git.c:744               trace: exec: git-credential-manager-core get
13:42:55.650317 run-command.c:667       trace: run_command: git-credential-manager-core get
13:42:55.793271 ...\Application.cs:80   trace: [RunInternalAsync] Version: 2.0.474.41365
13:42:55.798269 ...\Application.cs:81   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
13:42:55.798269 ...\Application.cs:82   trace: [RunInternalAsync] Platform: Windows (x86-64)
13:42:55.799270 ...\Application.cs:83   trace: [RunInternalAsync] AppPath: git-credential-manager-core
13:42:55.799270 ...\Application.cs:84   trace: [RunInternalAsync] Arguments: get
13:42:55.898237 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'get' command...
13:42:55.909253 ...GitCommandBase.cs:49 trace: [ExecuteAsync] Detecting host provider for input:
13:42:55.911252 ...GitCommandBase.cs:50 trace: [ExecuteAsync]   protocol=https
13:42:55.911252 ...GitCommandBase.cs:50 trace: [ExecuteAsync]   host=github.com

13:42:55.973213 ...viderRegistry.cs:149 trace: [GetProviderAsync] Performing auto-detection of host provider.
13:42:55.974213 ...viderRegistry.cs:162 trace: [GetProviderAsync] Checking against 3 host providers registered with priority 'Normal'.
13:42:55.976219 ...GitCommandBase.cs:52 trace: [ExecuteAsync] Host provider 'GitHub' was selected.
13:42:55.979218 ...\HostProvider.cs:128 trace: [GetCredentialAsync] Looking for existing credential in store with service=https://github.com account=...
13:42:55.984209 ...\HostProvider.cs:142 trace: [GetCredentialAsync] Existing credential found.
13:42:55.985209 ...GitCommandBase.cs:56 trace: [ExecuteAsync] End 'get' command...

Судя по коду хост не передается потому как git хочет пароль для сертификата, и в этом случае почему-то всегда отправляет пустую строку: https://github.com/git/git/blob/9d530dc0024503ab4218fe6c4395b8a0aa245478/http.c#L496
Попробуй такой конфиг:

[credential "cert://C:/Users/HuTao/cert/pak.pem"]
	username = whatever
	helper = "!f() { test \"$1\" = get && echo \"password=ТУТ ПАРОЛЬ ОТ СЕРТИФИКАТА\"; }; f"
[credential "https://gitlab.gpmrge.ru"]
	username = ЮЗЕР ГИТЛАБА
	helper = "!f() { test \"$1\" = get && echo \"password=ТУТ ПАРОЛЬ ОТ ГИТЛАБА\"; }; f"

 

Скрытый текст

 

C:\Users\HuTao>git -c credential.helper=manager -c http.sslVerify=false -c http.https://gitlab.gpmrge.ru.sslCertPasswordProtected=1 -c http.https://gitlab.gpmrge.ru.sslCert=C:\Users\HuTao\cert\pak.pem clone https://gitlab.gpmrge.ru/svd/svd.git
16:20:50.457938 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
16:20:50.457938 git.c:455               trace: built-in: git clone https://gitlab.gpmrge.ru/svd/svd.git
Cloning into 'svd'...
16:20:50.472873 run-command.c:666       trace: run_command: git remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
16:20:50.486836 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
16:20:50.487833 git.c:744               trace: exec: git-remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
16:20:50.487833 run-command.c:666       trace: run_command: git-remote-https origin https://gitlab.gpmrge.ru/svd/svd.git
16:20:50.505786 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
16:20:50.513763 run-command.c:666       trace: run_command: 'git credential-manager-core get'
16:20:50.556650 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
16:20:50.557647 git.c:744               trace: exec: git-credential-manager-core get
16:20:50.557647 run-command.c:666       trace: run_command: git-credential-manager-core get
16:20:50.666355 ...\Application.cs:80   trace: [RunInternalAsync] Version: 2.0.498.54650
16:20:50.667353 ...\Application.cs:81   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
16:20:50.668350 ...\Application.cs:82   trace: [RunInternalAsync] Platform: Windows (x86-64)
16:20:50.668350 ...\Application.cs:83   trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\libexec\git-core\git-credential-manager-core.exe
16:20:50.668350 ...\Application.cs:84   trace: [RunInternalAsync] Arguments: get
16:20:50.719214 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'get' command...
fatal: Invalid 'host' input argument (cannot be empty)
16:20:50.748137 run-command.c:666       trace: run_command: 'git credential-manager get'
16:20:50.788030 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
16:20:50.789027 git.c:744               trace: exec: git-credential-manager get
16:20:50.789027 run-command.c:666       trace: run_command: git-credential-manager get
16:20:50.855849 ...\Common.cs:744       trace: [Main] git-credential-manager (v1.20.0) 'get'
16:20:50.901727 ...\Git\Where.cs:348    trace: [FindGitInstallations] found 1 Git installation(s).
16:20:50.913720 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 22 entries.
16:20:50.998493 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'cert://C:/Users/HuTao/cert/pak.pem'.
16:20:51.010436 ...\Common.cs:224       trace: [CreateAuthentication] authority for 'cert://C:/Users/HuTao/cert/pak.pem' is basic with NTLM=Auto.
16:20:51.010436 ...\Common.cs:765       trace: [QueryCredentials] querying 'Auto' for credentials.
16:20:51.016448 ...\Common.cs:780       trace: [QueryCredentials] credentials found.
16:20:51.073267 run-command.c:666       trace: run_command: 'git credential-manager-core erase'
16:20:51.115155 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
16:20:51.116153 git.c:744               trace: exec: git-credential-manager-core erase
16:20:51.116153 run-command.c:666       trace: run_command: git-credential-manager-core erase
16:20:51.223866 ...\Application.cs:80   trace: [RunInternalAsync] Version: 2.0.498.54650
16:20:51.224863 ...\Application.cs:81   trace: [RunInternalAsync] Runtime: .NET Framework 4.0.30319.42000
16:20:51.225860 ...\Application.cs:82   trace: [RunInternalAsync] Platform: Windows (x86-64)
16:20:51.225860 ...\Application.cs:83   trace: [RunInternalAsync] AppPath: C:\Program Files\Git\mingw64\libexec\git-core\git-credential-manager-core.exe
16:20:51.226857 ...\Application.cs:84   trace: [RunInternalAsync] Arguments: erase
16:20:51.275726 ...GitCommandBase.cs:35 trace: [ExecuteAsync] Start 'erase' command...
fatal: Invalid 'host' input argument (cannot be empty)
16:20:51.303652 run-command.c:666       trace: run_command: 'git credential-manager erase'
16:20:51.343546 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
16:20:51.344543 git.c:744               trace: exec: git-credential-manager erase
16:20:51.344543 run-command.c:666       trace: run_command: git-credential-manager erase
16:20:51.412362 ...\Common.cs:744       trace: [Main] git-credential-manager (v1.20.0) 'erase'
16:20:51.431311 ...\Program.cs:601      trace: [Run] ! error: 'queryUrl'.
16:20:51.434303 ...\Common.cs:709       trace: [LogEvent] System.UriFormatException: queryUrl
   в Microsoft.Alm.Authentication.TargetUri..ctor(String queryUrl, String proxyUrl, String actualUrl)
   в Microsoft.Alm.Cli.OperationArguments.CreateTargetUri()
   в Microsoft.Alm.Cli.OperationArguments.<ReadInput>d__103.MoveNext()
--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---
   в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   в Microsoft.Alm.Cli.Program.<<Erase>b__23_0>d.MoveNext()
16:20:51.437294 ...\Program.cs:601      trace: [Run] fatal: UriFormatException encountered.
   queryUrl
fatal: UriFormatException encountered.
   queryUrl
fatal: Authentication failed for 'https://gitlab.gpmrge.ru/svd/svd.git/'

C:\Users\HuTao>

 

 


Лучший юзер — Rilay

 

Поделиться сообщением


Ссылка на сообщение
Drakonian написал 31 минуту назад:

protocol=https
host=gitlab.com

у тебя эти конфиги где-то должны быть
проблема в том, что когда ты обращаешься к credential manager у тебя нету параметра host и поэтому все валится

а напиши ка 


SET GIT_TRACE=1
SET GCM_TRACE=1
git credential fill
protocol=https
host=github.com'

 

только там должен быть у тебя gitlub.com наверное вместо github  или даже gitlab.gpmrge.ru тут хз

 

попробуй еще ебануть
 


git config --global credential.provider generic

а потом команду deadmage

 

@Rilay

Поделиться сообщением


Ссылка на сообщение
Гость
Эта тема закрыта для публикации сообщений.

×
×
  • Создать...