microsoft / Git-Credential-Manager-for-Windows

Secure Git credential storage for Windows with support for Visual Studio Team Services, GitHub, and Bitbucket multi-factor authentication.
Other
2.86k stars 590 forks source link

Asks for username and password each time I want to push and/or pull #705

Open omatrot opened 6 years ago

omatrot commented 6 years ago

I need help for troubleshooting the following issue on Windows 10.

I'm using VSCode and Git-CMW to connect to a VSTS repo.

Each and every time I need to push or pull from the remote repo, I'm asked for my credentials again and again. But wait, there's more. In fact I'm asked two times :

What can be the root cause of this behaviour. Thanks in advance.

whoisj commented 6 years ago

πŸ€” puzzling, not heard this one in a long time.

Could you provide some additional information?

Once you have the logs, please share them via this issue tracer item. When opening the logs to view you'll want a text editor that understands LF (or Unix) style line endings (Notepad++, Notepad2, Wordpad, etc). Remember to redact any private, secret, or personally identifiable information before sharing logs on the Internet.

Once you've shared the above information, hopefully I'll be able to guide you forward on resolving your issue. Thanks.

sonakpatel commented 6 years ago

Facing very similar issues here on a fresh Win 10, at least SSH auth via command line. I can login and auth on Git Bash/Powershell etc., but have to type my password in every time. I've never witnessed any credential prompts outside of the terminal.

Through VS Code's Git extension, when doing a git pull it fails to find or prompt for any authentication:

Please make sure you have the correct access rights
and the repository exists.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Git versions git version git version 2.18.0.windows.1

git credential-manager version Git Credential Manager for Windows version 1.17.0

git.log

exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
git.c:415               trace: built-in: git pull
run-command.c:637       trace: run_command: git fetch --update-head-ok
exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
git.c:415               trace: built-in: git fetch --update-head-ok
run-command.c:637       trace: run_command: unset GIT_PREFIX; ssh git@github.com 'git-upload-pack '\''repo/repo.git'\'''
run-command.c:637       trace: run_command: git rev-list --objects --stdin --not --all --quiet
exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
git.c:415               trace: built-in: git rev-list --objects --stdin --not --all --quiet
run-command.c:637       trace: run_command: git rev-list --objects --stdin --not --all --quiet
exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
git.c:415               trace: built-in: git rev-list --objects --stdin --not --all --quiet
run-command.c:1553      run_processes_parallel: preparing to run up to 1 tasks
run-command.c:1585      run_processes_parallel: done
run-command.c:637       trace: run_command: git gc --auto
exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
git.c:415               trace: built-in: git gc --auto
run-command.c:637       trace: run_command: git merge FETCH_HEAD
exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
git.c:415               trace: built-in: git merge FETCH_HEAD
exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
git.c:415               trace: built-in: git pull
run-command.c:637       trace: run_command: git fetch --update-head-ok
exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
git.c:415               trace: built-in: git fetch --update-head-ok
run-command.c:637       trace: run_command: unset GIT_PREFIX; ssh git@github.com 'git-upload-pack '\''repo/repo.git'\'''
run-command.c:637       trace: run_command: git rev-list --objects --stdin --not --all --quiet
exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
git.c:415               trace: built-in: git rev-list --objects --stdin --not --all --quiet
run-command.c:637       trace: run_command: git rev-list --objects --stdin --not --all --quiet
exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
git.c:415               trace: built-in: git rev-list --objects --stdin --not --all --quiet
run-command.c:1553      run_processes_parallel: preparing to run up to 1 tasks
run-command.c:1585      run_processes_parallel: done
run-command.c:637       trace: run_command: git gc --auto
exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
git.c:415               trace: built-in: git gc --auto
run-command.c:637       trace: run_command: git merge FETCH_HEAD
exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
git.c:415               trace: built-in: git merge FETCH_HEAD
whoisj commented 6 years ago

@sonakpatel thanks for sharing, however I do not see any GCM_TRACE output in your trace log. Did you set GCM_TRACE? In fact, I do not see any git remote-https commands. Is your "remote" branch actually a local branch?

sonakpatel commented 6 years ago

@whoisj I did indeed run the GCM trace the first time around and my only remote on this repo points to GitHub (fresh clone)

Here are the commands I've set/run and the equivalent git.log:

Is there anything else I can validate to ensure the GCM is firing correctly? Or any other configuration that happens not to have been set?

whoisj commented 6 years ago

What is the output of git config --list --show-origin | findstr /I credential and git config --list --show-origin | findstr /I github.com?

whoisj commented 6 years ago

I should have see this sooner:

run_command: unset GIT_PREFIX; ssh git@github.com 'git-upload-pack '\''yieldifytech/style-guide.git'\'''

It appears you're using SSH. The GCM is not involved with SSH, so there's no much I can do for you here.

TJSoftware commented 6 years ago

Hello, I am seeing the same issue. Here are the details you requested previously...

I attempt with the log on screen 2 times then I am asked via the command prompt. I have tried both my email and username in the login screen.

git version git version 2.18.0.windows.1

git credential-manager version Git Credential Manager for Windows version 1.17.0

23:08:29.962481 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
23:08:29.963480 git.c:415               trace: built-in: git version
23:08:30.402315 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
23:08:30.403686 git.c:415               trace: built-in: git help -a
23:08:44.296484 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
23:08:44.297562 git.c:415               trace: built-in: git clone https://username@bitbucket.org/username_myprojects/powershelllib.git DELETEME
23:08:44.369750 run-command.c:637       trace: run_command: git remote-https origin https://username@bitbucket.org/username_myprojects/powershelllib.git
23:08:44.387148 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:08:44.389367 git.c:654               trace: exec: git-remote-https origin https://username@bitbucket.org/username_myprojects/powershelllib.git
23:08:44.389367 run-command.c:637       trace: run_command: git-remote-https origin https://username@bitbucket.org/username_myprojects/powershelllib.git
23:08:44.411489 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:08:45.320613 run-command.c:637       trace: run_command: 'git credential-manager get'
23:08:45.411347 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:08:45.413346 git.c:654               trace: exec: git-credential-manager get
23:08:45.413346 run-command.c:637       trace: run_command: git-credential-manager get
23:08:45.529206 ...\Common.cs:677       trace: [Main] git-credential-manager (v1.17.0) 'get'
23:08:45.640669 ...\Git\Where.cs:361    trace: [FindGitInstallations] found 1 Git installation(s).
23:08:45.649838 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 21 entries.
23:08:45.743169 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'https://username@bitbucket.org/'.
23:08:47.326285 ...uthentication.cs:319 trace: [GetAuthentication] authentication for Bitbucket created
23:08:47.326285 ...\Common.cs:174       trace: [CreateAuthentication] authority for 'https://username@bitbucket.org/'  is Bitbucket.
23:08:47.357310 ...seSecureStore.cs:195 trace: [ReadCredentials] credentials for 'git:https://username@bitbucket.org' read from store.
23:08:47.357310 ...uthentication.cs:180 trace: [GetCredentials] successfully retrieved stored credentials, updating credential cache
23:08:47.371558 ...\Authority.cs:214    trace: [ValidateCredentials] authentication type = 'Credential'.
23:08:47.994419 ...\RestClient.cs:35    trace: [TryGetUser] server responded with Unauthorized.
23:08:47.994419 ...\RestClient.cs:61    trace: [TryGetUser] authentication unauthorized
23:08:48.000309 ...\Authority.cs:225    trace: [ValidateCredentials] credential validation failed
23:08:48.000309 ...\Authority.cs:214    trace: [ValidateCredentials] authentication type = 'Token'.
23:08:48.977633 ...\RestClient.cs:35    trace: [TryGetUser] server responded with Unauthorized.
23:08:48.977633 ...\RestClient.cs:61    trace: [TryGetUser] authentication unauthorized
23:08:48.977633 ...\Authority.cs:225    trace: [ValidateCredentials] credential validation failed
23:08:49.155841 ...icationPrompts.cs:96 trace: [CredentialModalPrompt] prompting user for credentials.
23:08:56.182378 ...\RestClient.cs:35    trace: [TryGetUser] server responded with OK.
23:08:56.182378 ...\RestClient.cs:42    trace: [TryGetUser] authentication success: new password token created.
23:08:56.187381 ...\RestClient.cs:80    trace: [FindUsername] Found username [username]
23:08:56.187381 ...uthentication.cs:360 trace: [InteractiveLogon] token acquisition succeeded
23:08:56.211922 ...uthentication.cs:258 trace: [SetCredentials] Personal Access Token at https://username@bitbucket.org/
23:08:56.261895 ...seSecureStore.cs:286 trace: [WriteCredential] credentials for 'git:https://username@bitbucket.org' written to store.
23:08:56.263894 ...\Authority.cs:214    trace: [ValidateCredentials] authentication type = 'Credential'.
23:08:57.682627 ...\RestClient.cs:35    trace: [TryGetUser] server responded with Unauthorized.
23:08:57.683134 ...\RestClient.cs:61    trace: [TryGetUser] authentication unauthorized
23:08:57.683134 ...\Authority.cs:225    trace: [ValidateCredentials] credential validation failed
23:08:57.683134 ...\Authority.cs:214    trace: [ValidateCredentials] authentication type = 'Token'.
23:08:59.003890 ...\RestClient.cs:35    trace: [TryGetUser] server responded with Unauthorized.
23:08:59.003890 ...\RestClient.cs:61    trace: [TryGetUser] authentication unauthorized
23:08:59.003890 ...\Authority.cs:225    trace: [ValidateCredentials] credential validation failed
23:08:59.071866 ...\Common.cs:642       trace: [LogEvent] Failed to retrieve Bitbucket credentials for 'https://username@bitbucket.org/'.
23:08:59.075918 ...\Program.cs:415      trace: [Get] Logon failed, use ctrl+c to cancel basic credential prompt.
23:11:46.548365 run-command.c:637       trace: run_command: 'git credential-manager get'
23:11:46.602251 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:11:46.604926 git.c:654               trace: exec: git-credential-manager get
23:11:46.604926 run-command.c:637       trace: run_command: git-credential-manager get
23:11:46.722240 ...\Common.cs:677       trace: [Main] git-credential-manager (v1.17.0) 'get'
23:11:46.831724 ...\Git\Where.cs:361    trace: [FindGitInstallations] found 1 Git installation(s).
23:11:46.839382 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 21 entries.
23:11:46.933760 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'https://username@bitbucket.org/'.
23:11:54.854579 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
23:11:54.859690 git.c:415               trace: built-in: git version
23:11:55.349240 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
23:11:55.350238 git.c:415               trace: built-in: git help -a
23:12:03.930095 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
23:12:03.931089 git.c:415               trace: built-in: git clone https://username@bitbucket.org/username_myprojects/powershelllib.git DELETEME
23:12:04.006069 run-command.c:637       trace: run_command: git remote-https origin https://username@bitbucket.org/username_myprojects/powershelllib.git
23:12:04.022729 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:12:04.023728 git.c:654               trace: exec: git-remote-https origin https://username@bitbucket.org/username_myprojects/powershelllib.git
23:12:04.023728 run-command.c:637       trace: run_command: git-remote-https origin https://username@bitbucket.org/username_myprojects/powershelllib.git
23:12:04.044244 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:12:06.142635 run-command.c:637       trace: run_command: 'git credential-manager get'
23:12:06.237521 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:12:06.239901 git.c:654               trace: exec: git-credential-manager get
23:12:06.239901 run-command.c:637       trace: run_command: git-credential-manager get
23:12:06.363544 ...\Common.cs:677       trace: [Main] git-credential-manager (v1.17.0) 'get'
23:12:06.487748 ...\Git\Where.cs:361    trace: [FindGitInstallations] found 1 Git installation(s).
23:12:06.492399 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 21 entries.
23:12:06.581725 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'https://username@bitbucket.org/'.
23:12:07.733073 ...uthentication.cs:319 trace: [GetAuthentication] authentication for Bitbucket created
23:12:07.733073 ...\Common.cs:174       trace: [CreateAuthentication] authority for 'https://username@bitbucket.org/'  is Bitbucket.
23:12:07.768538 ...seSecureStore.cs:195 trace: [ReadCredentials] credentials for 'git:https://username@bitbucket.org' read from store.
23:12:07.769544 ...uthentication.cs:180 trace: [GetCredentials] successfully retrieved stored credentials, updating credential cache
23:12:07.784973 ...\Authority.cs:214    trace: [ValidateCredentials] authentication type = 'Credential'.
23:12:09.593656 ...\RestClient.cs:35    trace: [TryGetUser] server responded with Unauthorized.
23:12:09.593656 ...\RestClient.cs:61    trace: [TryGetUser] authentication unauthorized
23:12:09.597974 ...\Authority.cs:225    trace: [ValidateCredentials] credential validation failed
23:12:09.597974 ...\Authority.cs:214    trace: [ValidateCredentials] authentication type = 'Token'.
23:12:12.063472 ...\RestClient.cs:35    trace: [TryGetUser] server responded with Unauthorized.
23:12:12.063472 ...\RestClient.cs:61    trace: [TryGetUser] authentication unauthorized
23:12:12.063472 ...\Authority.cs:225    trace: [ValidateCredentials] credential validation failed
23:12:12.234218 ...icationPrompts.cs:96 trace: [CredentialModalPrompt] prompting user for credentials.
23:12:22.010326 ...\RestClient.cs:35    trace: [TryGetUser] server responded with OK.
23:12:22.010326 ...\RestClient.cs:42    trace: [TryGetUser] authentication success: new password token created.
23:12:22.012618 ...\RestClient.cs:80    trace: [FindUsername] Found username [username]
23:12:22.012618 ...uthentication.cs:360 trace: [InteractiveLogon] token acquisition succeeded
23:12:22.027593 ...uthentication.cs:258 trace: [SetCredentials] Personal Access Token at https://username@bitbucket.org/
23:12:22.076283 ...seSecureStore.cs:286 trace: [WriteCredential] credentials for 'git:https://username@bitbucket.org' written to store.
23:12:22.079572 ...\Authority.cs:214    trace: [ValidateCredentials] authentication type = 'Credential'.
23:12:22.482004 ...\RestClient.cs:35    trace: [TryGetUser] server responded with Unauthorized.
23:12:22.482004 ...\RestClient.cs:61    trace: [TryGetUser] authentication unauthorized
23:12:22.482004 ...\Authority.cs:225    trace: [ValidateCredentials] credential validation failed
23:12:22.482004 ...\Authority.cs:214    trace: [ValidateCredentials] authentication type = 'Token'.
23:12:22.716370 ...\RestClient.cs:35    trace: [TryGetUser] server responded with Unauthorized.
23:12:22.716370 ...\RestClient.cs:61    trace: [TryGetUser] authentication unauthorized
23:12:22.716370 ...\Authority.cs:225    trace: [ValidateCredentials] credential validation failed
23:12:22.771559 ...\Common.cs:642       trace: [LogEvent] Failed to retrieve Bitbucket credentials for 'https://username@bitbucket.org/'.
23:12:22.777230 ...\Program.cs:415      trace: [Get] Logon failed, use ctrl+c to cancel basic credential prompt.
23:12:23.199457 run-command.c:637       trace: run_command: 'git credential-manager get'
23:12:23.252600 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:12:23.255593 git.c:654               trace: exec: git-credential-manager get
23:12:23.255593 run-command.c:637       trace: run_command: git-credential-manager get
23:12:23.359203 ...\Common.cs:677       trace: [Main] git-credential-manager (v1.17.0) 'get'
23:12:23.465337 ...\Git\Where.cs:361    trace: [FindGitInstallations] found 1 Git installation(s).
23:12:23.475618 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 21 entries.
23:12:23.559650 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'https://username@bitbucket.org/'.
23:12:25.364837 ...uthentication.cs:319 trace: [GetAuthentication] authentication for Bitbucket created
23:12:25.364837 ...\Common.cs:174       trace: [CreateAuthentication] authority for 'https://username@bitbucket.org/'  is Bitbucket.
23:12:25.397760 ...seSecureStore.cs:195 trace: [ReadCredentials] credentials for 'git:https://username@bitbucket.org' read from store.
23:12:25.399764 ...uthentication.cs:180 trace: [GetCredentials] successfully retrieved stored credentials, updating credential cache
23:12:25.417555 ...\Authority.cs:214    trace: [ValidateCredentials] authentication type = 'Credential'.
23:12:26.941399 ...\RestClient.cs:35    trace: [TryGetUser] server responded with Unauthorized.
23:12:26.941399 ...\RestClient.cs:61    trace: [TryGetUser] authentication unauthorized
23:12:26.942395 ...\Authority.cs:225    trace: [ValidateCredentials] credential validation failed
23:12:26.942395 ...\Authority.cs:214    trace: [ValidateCredentials] authentication type = 'Token'.
23:12:27.893414 ...\RestClient.cs:35    trace: [TryGetUser] server responded with Unauthorized.
23:12:27.893414 ...\RestClient.cs:61    trace: [TryGetUser] authentication unauthorized
23:12:27.893414 ...\Authority.cs:225    trace: [ValidateCredentials] credential validation failed
23:12:28.050872 ...icationPrompts.cs:96 trace: [CredentialModalPrompt] prompting user for credentials.
23:12:47.284447 ...\RestClient.cs:35    trace: [TryGetUser] server responded with OK.
23:12:47.284447 ...\RestClient.cs:42    trace: [TryGetUser] authentication success: new password token created.
23:12:47.288488 ...\RestClient.cs:80    trace: [FindUsername] Found username [username]
23:12:47.288488 ...uthentication.cs:360 trace: [InteractiveLogon] token acquisition succeeded
23:12:47.304090 ...uthentication.cs:258 trace: [SetCredentials] Personal Access Token at https://username@bitbucket.org/
23:12:47.361974 ...seSecureStore.cs:286 trace: [WriteCredential] credentials for 'git:https://username@bitbucket.org' written to store.
23:12:47.362972 ...\Authority.cs:214    trace: [ValidateCredentials] authentication type = 'Credential'.
23:12:48.944984 ...\RestClient.cs:35    trace: [TryGetUser] server responded with Unauthorized.
23:12:48.944984 ...\RestClient.cs:61    trace: [TryGetUser] authentication unauthorized
23:12:48.944984 ...\Authority.cs:225    trace: [ValidateCredentials] credential validation failed
23:12:48.944984 ...\Authority.cs:214    trace: [ValidateCredentials] authentication type = 'Token'.
23:12:49.858868 ...\RestClient.cs:35    trace: [TryGetUser] server responded with Unauthorized.
23:12:49.858868 ...\RestClient.cs:61    trace: [TryGetUser] authentication unauthorized
23:12:49.859924 ...\Authority.cs:225    trace: [ValidateCredentials] credential validation failed
23:12:49.913524 ...\Common.cs:642       trace: [LogEvent] Failed to retrieve Bitbucket credentials for 'https://username@bitbucket.org/'.
23:12:49.919764 ...\Program.cs:415      trace: [Get] Logon failed, use ctrl+c to cancel basic credential prompt.
23:12:50.327043 run-command.c:637       trace: run_command: bash -c 'test "a$SHELL" '\!'= "a${SHELL%.exe}" || exit 127; cat >/dev/tty && read -r -s line </dev/tty && echo "$line" && echo >/dev/tty'
23:12:57.430062 run-command.c:637       trace: run_command: 'git credential-manager store'
23:12:57.556582 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:12:57.559029 git.c:654               trace: exec: git-credential-manager store
23:12:57.559029 run-command.c:637       trace: run_command: git-credential-manager store
23:12:57.674308 ...\Common.cs:677       trace: [Main] git-credential-manager (v1.17.0) 'store'
23:12:57.782365 ...\Git\Where.cs:361    trace: [FindGitInstallations] found 1 Git installation(s).
23:12:57.787516 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 21 entries.
23:12:57.849726 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'https://username@bitbucket.org/'.
23:12:59.613892 ...uthentication.cs:319 trace: [GetAuthentication] authentication for Bitbucket created
23:12:59.613892 ...\Common.cs:174       trace: [CreateAuthentication] authority for 'https://username@bitbucket.org/'  is Bitbucket.
23:12:59.613892 ...\Program.cs:518      trace: [Store] storing Bitbucket credentials for 'https://username@bitbucket.org/'.
23:12:59.649171 ...seSecureStore.cs:195 trace: [ReadCredentials] credentials for 'git:https://username@bitbucket.org' read from store.
23:12:59.650171 ...uthentication.cs:180 trace: [GetCredentials] successfully retrieved stored credentials, updating credential cache
23:12:59.650171 ...uthentication.cs:221 trace: [SetCredentials] skipping for https://username@bitbucket.org/ new username Personal Access Token != username
23:12:59.694650 run-command.c:637       trace: run_command: 'git credential-manager store'
23:12:59.744266 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:12:59.745267 git.c:654               trace: exec: git-credential-manager store
23:12:59.745267 run-command.c:637       trace: run_command: git-credential-manager store
23:12:59.854259 ...\Common.cs:677       trace: [Main] git-credential-manager (v1.17.0) 'store'
23:12:59.963365 ...\Git\Where.cs:361    trace: [FindGitInstallations] found 1 Git installation(s).
23:12:59.968483 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 21 entries.
23:13:00.051015 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'https://username@bitbucket.org/'.
23:13:00.804018 ...uthentication.cs:319 trace: [GetAuthentication] authentication for Bitbucket created
23:13:00.804018 ...\Common.cs:174       trace: [CreateAuthentication] authority for 'https://username@bitbucket.org/'  is Bitbucket.
23:13:00.804018 ...\Program.cs:518      trace: [Store] storing Bitbucket credentials for 'https://username@bitbucket.org/'.
23:13:00.844996 ...seSecureStore.cs:195 trace: [ReadCredentials] credentials for 'git:https://username@bitbucket.org' read from store.
23:13:00.845995 ...uthentication.cs:180 trace: [GetCredentials] successfully retrieved stored credentials, updating credential cache
23:13:00.845995 ...uthentication.cs:221 trace: [SetCredentials] skipping for https://username@bitbucket.org/ new username Personal Access Token != username
23:13:00.898774 run-command.c:637       trace: run_command: git fetch-pack --stateless-rpc --stdin --lock-pack --thin --check-self-contained-and-connected --cloning https://username@bitbucket.org/username_myprojects/powershelllib.git/
23:13:00.917998 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:13:00.921165 git.c:415               trace: built-in: git fetch-pack --stateless-rpc --stdin --lock-pack --thin --check-self-contained-and-connected --cloning https://username@bitbucket.org/username_myprojects/powershelllib.git/
23:13:04.613051 run-command.c:637       trace: run_command: git index-pack --stdin -v --fix-thin '--keep=fetch-pack 1112 on Ryloth' --check-self-contained-and-connected --pack_header=2,181
23:13:04.661132 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:13:04.664132 git.c:415               trace: built-in: git index-pack --stdin -v --fix-thin '--keep=fetch-pack 1112 on Ryloth' --check-self-contained-and-connected --pack_header=2,181
23:13:04.741517 run-command.c:637       trace: run_command: git rev-list --objects --stdin --not --all --quiet '--progress=Checking connectivity'
23:13:04.760800 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
23:13:04.761802 git.c:415               trace: built-in: git rev-list --objects --stdin --not --all --quiet '--progress=Checking connectivity'
jaouharDAHMOUL commented 6 years ago

Hi i'm talking for omatrot, git version : git version 2.18.0.windows.1 GCM:Git Credential Manager for Windows version 1.17.0

there is my log file:

09:25:14.545141 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:14.546142 git.c:415               trace: built-in: git version
09:25:16.266710 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:16.266710 git.c:415               trace: built-in: git rev-parse --show-toplevel
09:25:16.574008 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:16.574008 git.c:415               trace: built-in: git config --get commit.template
09:25:16.614234 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:16.617870 git.c:415               trace: built-in: git status -z -u
09:25:16.795878 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:16.800008 git.c:415               trace: built-in: git symbolic-ref --short HEAD
09:25:17.300699 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:17.305313 git.c:415               trace: built-in: git show :index.ts
09:25:17.305313 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:17.305313 git.c:415               trace: built-in: git rev-parse master
09:25:17.843636 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:17.847207 git.c:415               trace: built-in: git check-ignore -z --stdin
09:25:18.026117 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:18.027113 git.c:415               trace: built-in: git rev-parse --symbolic-full-name 'master@{u}'
09:25:18.390988 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:18.391984 git.c:415               trace: built-in: git rev-list --left-right master...refs/remotes/origin/master
09:25:19.035992 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:19.039934 git.c:415               trace: built-in: git for-each-ref --format '%(refname) %(objectname)' --sort -committerdate
09:25:20.091492 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:20.096756 git.c:415               trace: built-in: git remote --verbose
09:25:37.244356 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:25:37.245759 git.c:415               trace: built-in: git pull --tags origin master
09:25:37.249928 run-command.c:637       trace: run_command: git fetch --update-head-ok --tags origin master
09:25:37.321775 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:25:37.323772 git.c:415               trace: built-in: git fetch --update-head-ok --tags origin master
09:25:37.329259 run-command.c:637       trace: run_command: GIT_DIR=.git git remote-https origin https://helloword.visualstudio.com/DefaultCollection/sandbox/_git/learningTypescript
09:25:37.388402 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:25:37.390396 git.c:654               trace: exec: git-remote-https origin https://helloword.visualstudio.com/DefaultCollection/sandbox/_git/learningTypescript
09:25:37.390396 run-command.c:637       trace: run_command: git-remote-https origin https://helloword.visualstudio.com/DefaultCollection/sandbox/_git/learningTypescript
09:25:37.451045 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:25:37.940407 run-command.c:637       trace: run_command: 'git credential-manager get'
09:25:38.070957 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:25:38.071915 git.c:654               trace: exec: git-credential-manager get
09:25:38.071915 run-command.c:637       trace: run_command: git-credential-manager get
09:25:38.231683 ...\Common.cs:677       trace: [Main] git-credential-manager (v1.17.0) 'get'
09:25:38.310194 ...\Git\Where.cs:361    trace: [FindGitInstallations] found 1 Git installation(s).
09:25:38.317656 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 35 entries.
09:25:38.320698 ...\Common.cs:472       trace: [LoadOperationArguments] writeLog = 'True'.
09:25:38.320698 ...\Common.cs:285       trace: [EnableTraceLogging] trace logging enabled.
09:25:38.320698 ...\Common.cs:290       trace: [EnableTraceLogging] git local config found at 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\.git\config'.
09:25:38.324703 ...\Common.cs:345       trace: [EnableTraceLoggingFile] trace log destination is 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\.git'.
09:25:38.384873 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'https://helloword.visualstudio.com/'.
09:25:38.999962 ...uthentication.cs:230 trace: [DetectAuthority] detected 'https://helloword.visualstudio.com/' as VSTS from GET response.
09:25:38.999962 ...uthentication.cs:298 trace: [DetectAuthority] tenant resource for 'https://helloword.visualstudio.com/' is {00000000000000000000000000000000}.
09:25:39.001021 ...uthentication.cs:364 trace: [GetAuthentication] MSA authority detected.
09:25:39.050632 ...\Common.cs:183       trace: [CreateAuthentication] authority for 'https://helloword.visualstudio.com/' is Microsoft Live.
09:25:57.378870 ...\Authority.cs:198    trace: [InteractiveAcquireToken] authority host URL = 'https://login.microsoftonline.com/live.com', token acquisition for tenant [9cd80435793b4f48844b6b3f37d1c1f3] succeeded.
09:25:57.378870 ...Authentication.cs:84 trace: [InteractiveLogon] token 'https://helloword.visualstudio.com/' successfully acquired.
09:25:57.580565 ...\Authority.cs:474    trace: [GetIdentityServiceUri] failed to find Identity Service for 'https://helloword.visualstudio.com/' via location service [401 Unauthorized].
09:25:57.581563 ...\Git\Trace.cs:139    trace: [WriteException] ! error: 'Failed to find Identity Service for `https://helloword.visualstudio.com/`.'.
09:25:57.581563 ...\Authority.cs:141    trace: [GeneratePersonalAccessToken] personal access token acquisition for 'https://helloword.visualstudio.com/' failed.
09:25:57.581563 ...\Common.cs:785       trace: [QueryCredentials] credentials for 'https://helloword.visualstudio.com/' not found.
09:25:57.582593 ...\Common.cs:642       trace: [LogEvent] Failed to retrieve Microsoft Live credentials for 'https://helloword.visualstudio.com/'.
09:25:57.584028 ...\Program.cs:415      trace: [Get] Logon failed, use ctrl+c to cancel basic credential prompt.
09:25:57.656890 run-command.c:637       trace: run_command: 'git credential-cache --timeout=3600 get'
09:25:57.768694 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:25:57.769691 git.c:654               trace: exec: git-credential-cache --timeout=3600 get
09:25:57.769691 run-command.c:637       trace: run_command: git-credential-cache --timeout=3600 get
09:25:57.890315 run-command.c:637       trace: run_command: 'git credential-cache --timeout=3600 get'
09:25:58.025098 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:25:58.028550 git.c:654               trace: exec: git-credential-cache --timeout=3600 get
09:25:58.028550 run-command.c:637       trace: run_command: git-credential-cache --timeout=3600 get
09:25:58.168826 run-command.c:637       trace: run_command: 'c:\Program Files\Microsoft VS Code\resources\app\extensions\git\out\askpass.sh' 'Username for '\''https://helloword.visualstudio.com'\'': '
09:26:16.691086 run-command.c:637       trace: run_command: 'c:\Program Files\Microsoft VS Code\resources\app\extensions\git\out\askpass.sh' 'Password for '\''https://hello@word.com@helloword.visualstudio.com'\'': '
09:26:21.303629 run-command.c:637       trace: run_command: 'git credential-manager store'
09:26:21.416487 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:26:21.416487 git.c:654               trace: exec: git-credential-manager store
09:26:21.416487 run-command.c:637       trace: run_command: git-credential-manager store
09:26:21.511265 ...\Common.cs:677       trace: [Main] git-credential-manager (v1.17.0) 'store'
09:26:21.577315 ...\Git\Where.cs:361    trace: [FindGitInstallations] found 1 Git installation(s).
09:26:21.583364 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 35 entries.
09:26:21.589075 ...\Common.cs:472       trace: [LoadOperationArguments] writeLog = 'True'.
09:26:21.590071 ...\Common.cs:285       trace: [EnableTraceLogging] trace logging enabled.
09:26:21.591068 ...\Common.cs:290       trace: [EnableTraceLogging] git local config found at 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\.git\config'.
09:26:21.591068 ...\Common.cs:345       trace: [EnableTraceLoggingFile] trace log destination is 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\.git'.
09:26:21.633539 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'https://hello@word.com@helloword.visualstudio.com/'.
09:26:22.411157 ...uthentication.cs:230 trace: [DetectAuthority] detected 'https://helloword.visualstudio.com/' as VSTS from GET response.
09:26:22.411157 ...uthentication.cs:298 trace: [DetectAuthority] tenant resource for 'https://helloword.visualstudio.com/' is {00000000000000000000000000000000}.
09:26:22.412153 ...uthentication.cs:364 trace: [GetAuthentication] MSA authority detected.
09:26:22.462934 ...\Common.cs:183       trace: [CreateAuthentication] authority for 'https://hello@word.com@helloword.visualstudio.com/' is Microsoft Live.
09:26:22.462934 ...\Program.cs:523      trace: [Store] storing VSTS credentials for 'https://hello@word.com@helloword.visualstudio.com/'.
09:26:22.491790 run-command.c:637       trace: run_command: 'git credential-cache --timeout=3600 store'
09:26:22.600479 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:26:22.602008 git.c:654               trace: exec: git-credential-cache --timeout=3600 store
09:26:22.602008 run-command.c:637       trace: run_command: git-credential-cache --timeout=3600 store
09:26:22.709675 run-command.c:637       trace: run_command: 'git credential-cache --timeout=3600 store'
09:26:22.817502 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:26:22.819497 git.c:654               trace: exec: git-credential-cache --timeout=3600 store
09:26:22.819497 run-command.c:637       trace: run_command: git-credential-cache --timeout=3600 store
09:26:22.915293 run-command.c:637       trace: run_command: git rev-list --objects --stdin --not --all --quiet
09:26:22.962531 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:26:22.963529 git.c:415               trace: built-in: git rev-list --objects --stdin --not --all --quiet
09:26:22.970009 run-command.c:637       trace: run_command: git fetch-pack --stateless-rpc --stdin --lock-pack --thin --no-progress https://helloword.visualstudio.com/DefaultCollection/sandbox/_git/learningTypescript/
09:26:23.081883 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:26:23.082880 git.c:415               trace: built-in: git fetch-pack --stateless-rpc --stdin --lock-pack --thin --no-progress https://helloword.visualstudio.com/DefaultCollection/sandbox/_git/learningTypescript/
09:26:24.655800 run-command.c:637       trace: run_command: git unpack-objects -q --pack_header=2,6
09:26:25.464160 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:26:25.467224 git.c:415               trace: built-in: git unpack-objects -q --pack_header=2,6
09:26:25.946183 run-command.c:637       trace: run_command: git rev-list --objects --stdin --not --all --quiet
09:26:26.001884 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:26:26.003878 git.c:415               trace: built-in: git rev-list --objects --stdin --not --all --quiet
09:26:26.509394 run-command.c:1553      run_processes_parallel: preparing to run up to 1 tasks
09:26:26.509394 run-command.c:1585      run_processes_parallel: done
09:26:26.509394 run-command.c:637       trace: run_command: git gc --auto
09:26:26.580626 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:26:26.583684 git.c:415               trace: built-in: git gc --auto
09:26:27.223939 run-command.c:637       trace: run_command: git merge FETCH_HEAD
09:26:27.654144 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:26:27.658640 git.c:415               trace: built-in: git merge FETCH_HEAD
09:26:27.743134 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:26:27.745345 git.c:415               trace: built-in: git show :index.ts
09:26:43.393572 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:26:43.396236 git.c:415               trace: built-in: git show :index.ts
09:26:43.436190 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:26:43.437187 git.c:415               trace: built-in: git status -z -u
09:26:43.579113 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:26:43.581106 git.c:415               trace: built-in: git symbolic-ref --short HEAD
09:26:43.766965 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:26:43.767961 git.c:415               trace: built-in: git rev-parse master
09:26:43.921728 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:26:43.923026 git.c:415               trace: built-in: git rev-parse --symbolic-full-name 'master@{u}'
09:26:44.090931 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:26:44.091928 git.c:415               trace: built-in: git rev-list --left-right master...refs/remotes/origin/master
09:26:44.274442 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:26:44.278064 git.c:415               trace: built-in: git for-each-ref --format '%(refname) %(objectname)' --sort -committerdate
09:26:44.306359 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:26:44.307356 git.c:415               trace: built-in: git remote --verbose
09:26:50.063087 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:26:50.065049 git.c:415               trace: built-in: git ls-tree -l HEAD -- 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\index.ts'
09:26:50.201948 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:26:50.202945 git.c:415               trace: built-in: git show 34e48a8c5679c9f9ec6af95054d41142adf01756
09:26:50.395089 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:26:50.395089 git.c:415               trace: built-in: git show HEAD:index.ts
09:27:06.153680 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:06.154678 git.c:415               trace: built-in: git ls-tree -l HEAD -- 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\package.json'
09:27:06.296526 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:06.299556 git.c:415               trace: built-in: git show c379536aa084857c1c0c0caf3bdb1ce9b8c5a581
09:27:06.477363 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:06.479176 git.c:415               trace: built-in: git show HEAD:package.json
09:27:17.940515 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:17.944071 git.c:415               trace: built-in: git checkout -q -- 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\package-lock.json'
09:27:18.139160 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:18.143164 git.c:415               trace: built-in: git status -z -u
09:27:18.318009 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:18.318009 git.c:415               trace: built-in: git symbolic-ref --short HEAD
09:27:18.482516 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:18.482516 git.c:415               trace: built-in: git rev-parse master
09:27:18.672139 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:18.673136 git.c:415               trace: built-in: git rev-parse --symbolic-full-name 'master@{u}'
09:27:18.837244 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:18.838241 git.c:415               trace: built-in: git rev-list --left-right master...refs/remotes/origin/master
09:27:19.032034 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:19.034355 git.c:415               trace: built-in: git for-each-ref --format '%(refname) %(objectname)' --sort -committerdate
09:27:19.082199 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:19.083940 git.c:415               trace: built-in: git remote --verbose
09:27:19.305663 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:19.306665 git.c:415               trace: built-in: git show HEAD:package.json
09:27:21.552684 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:21.556092 git.c:415               trace: built-in: git checkout -q -- 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\package.json'
09:27:21.738413 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:21.748052 git.c:415               trace: built-in: git status -z -u
09:27:21.951956 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:21.954463 git.c:415               trace: built-in: git symbolic-ref --short HEAD
09:27:22.143479 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:22.144962 git.c:415               trace: built-in: git rev-parse master
09:27:22.322482 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:22.324021 git.c:415               trace: built-in: git rev-parse --symbolic-full-name 'master@{u}'
09:27:22.492313 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:22.495473 git.c:415               trace: built-in: git rev-list --left-right master...refs/remotes/origin/master
09:27:22.678112 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:22.679108 git.c:415               trace: built-in: git for-each-ref --format '%(refname) %(objectname)' --sort -committerdate
09:27:22.722804 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:22.728030 git.c:415               trace: built-in: git remote --verbose
09:27:22.958673 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:22.963011 git.c:415               trace: built-in: git show HEAD:package.json
09:27:25.585343 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:25.589773 git.c:415               trace: built-in: git checkout -q -- 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\index.ts'
09:27:25.800367 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:25.805260 git.c:415               trace: built-in: git status -z -u
09:27:26.067279 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:26.071229 git.c:415               trace: built-in: git symbolic-ref --short HEAD
09:27:26.267829 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:26.270905 git.c:415               trace: built-in: git rev-parse master
09:27:26.477627 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:26.478638 git.c:415               trace: built-in: git rev-parse --symbolic-full-name 'master@{u}'
09:27:26.680028 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:26.684601 git.c:415               trace: built-in: git rev-list --left-right master...refs/remotes/origin/master
09:27:26.961015 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:26.965738 git.c:415               trace: built-in: git for-each-ref --format '%(refname) %(objectname)' --sort -committerdate
09:27:27.007989 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:27.008984 git.c:415               trace: built-in: git remote --verbose
09:27:27.066256 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:27.074418 git.c:415               trace: built-in: git show HEAD:package.json
09:27:31.963363 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:31.971232 git.c:415               trace: built-in: git status -z -u
09:27:32.172955 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:32.173952 git.c:415               trace: built-in: git symbolic-ref --short HEAD
09:27:32.301449 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:32.302722 git.c:415               trace: built-in: git rev-parse master
09:27:32.755753 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:32.755753 git.c:415               trace: built-in: git rev-parse --symbolic-full-name 'master@{u}'
09:27:34.237680 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:34.240233 git.c:415               trace: built-in: git rev-list --left-right master...refs/remotes/origin/master
09:27:34.738905 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:34.742132 git.c:415               trace: built-in: git for-each-ref --format '%(refname) %(objectname)' --sort -committerdate
09:27:36.056363 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:36.061471 git.c:415               trace: built-in: git remote --verbose
09:27:36.203898 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:36.206890 git.c:415               trace: built-in: git clean -f -q -- 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\index.js'
09:27:36.374873 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:36.379402 git.c:415               trace: built-in: git status -z -u
09:27:36.802435 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:36.803433 git.c:415               trace: built-in: git symbolic-ref --short HEAD
09:27:36.949603 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:36.950599 git.c:415               trace: built-in: git rev-parse master
09:27:37.087560 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:37.087560 git.c:415               trace: built-in: git rev-parse --symbolic-full-name 'master@{u}'
09:27:37.232024 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:37.234019 git.c:415               trace: built-in: git rev-list --left-right master...refs/remotes/origin/master
09:27:37.655240 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:37.659207 git.c:415               trace: built-in: git for-each-ref --format '%(refname) %(objectname)' --sort -committerdate
09:27:37.688806 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:37.692455 git.c:415               trace: built-in: git remote --verbose
09:27:41.777357 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:27:41.778354 git.c:415               trace: built-in: git pull --tags origin master
09:27:41.782453 run-command.c:637       trace: run_command: git fetch --update-head-ok --tags origin master
09:27:41.847383 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:27:41.848379 git.c:415               trace: built-in: git fetch --update-head-ok --tags origin master
09:27:41.855960 run-command.c:637       trace: run_command: GIT_DIR=.git git remote-https origin https://helloword.visualstudio.com/DefaultCollection/sandbox/_git/learningTypescript
09:27:41.913983 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:27:41.914978 git.c:654               trace: exec: git-remote-https origin https://helloword.visualstudio.com/DefaultCollection/sandbox/_git/learningTypescript
09:27:41.914978 run-command.c:637       trace: run_command: git-remote-https origin https://helloword.visualstudio.com/DefaultCollection/sandbox/_git/learningTypescript
09:27:41.975799 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:27:42.717324 run-command.c:637       trace: run_command: 'git credential-manager get'
09:27:42.843168 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:27:42.844557 git.c:654               trace: exec: git-credential-manager get
09:27:42.844557 run-command.c:637       trace: run_command: git-credential-manager get
09:27:42.964291 ...\Common.cs:677       trace: [Main] git-credential-manager (v1.17.0) 'get'
09:27:43.082876 ...\Git\Where.cs:361    trace: [FindGitInstallations] found 1 Git installation(s).
09:27:43.092343 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 35 entries.
09:27:43.097455 ...\Common.cs:472       trace: [LoadOperationArguments] writeLog = 'True'.
09:27:43.098991 ...\Common.cs:285       trace: [EnableTraceLogging] trace logging enabled.
09:27:43.099992 ...\Common.cs:290       trace: [EnableTraceLogging] git local config found at 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\.git\config'.
09:27:43.101406 ...\Common.cs:345       trace: [EnableTraceLoggingFile] trace log destination is 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\.git'.
09:27:43.183142 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'https://helloword.visualstudio.com/'.
09:27:43.498664 ...uthentication.cs:230 trace: [DetectAuthority] detected 'https://helloword.visualstudio.com/' as VSTS from GET response.
09:27:43.498664 ...uthentication.cs:298 trace: [DetectAuthority] tenant resource for 'https://helloword.visualstudio.com/' is {00000000000000000000000000000000}.
09:27:43.499663 ...uthentication.cs:364 trace: [GetAuthentication] MSA authority detected.
09:27:43.557106 ...\Common.cs:183       trace: [CreateAuthentication] authority for 'https://helloword.visualstudio.com/' is Microsoft Live.
09:28:04.941990 ...\Authority.cs:198    trace: [InteractiveAcquireToken] authority host URL = 'https://login.microsoftonline.com/live.com', token acquisition for tenant [9cd80435793b4f48844b6b3f37d1c1f3] succeeded.
09:28:04.941990 ...Authentication.cs:84 trace: [InteractiveLogon] token 'https://helloword.visualstudio.com/' successfully acquired.
09:28:05.094175 ...\Authority.cs:474    trace: [GetIdentityServiceUri] failed to find Identity Service for 'https://helloword.visualstudio.com/' via location service [401 Unauthorized].
09:28:05.095173 ...\Git\Trace.cs:139    trace: [WriteException] ! error: 'Failed to find Identity Service for `https://helloword.visualstudio.com/`.'.
09:28:05.095173 ...\Authority.cs:141    trace: [GeneratePersonalAccessToken] personal access token acquisition for 'https://helloword.visualstudio.com/' failed.
09:28:05.095173 ...\Common.cs:785       trace: [QueryCredentials] credentials for 'https://helloword.visualstudio.com/' not found.
09:28:05.096170 ...\Common.cs:642       trace: [LogEvent] Failed to retrieve Microsoft Live credentials for 'https://helloword.visualstudio.com/'.
09:28:05.099163 ...\Program.cs:415      trace: [Get] Logon failed, use ctrl+c to cancel basic credential prompt.
09:28:05.140798 run-command.c:637       trace: run_command: 'git credential-cache --timeout=3600 get'
09:28:05.257866 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:28:05.258863 git.c:654               trace: exec: git-credential-cache --timeout=3600 get
09:28:05.258863 run-command.c:637       trace: run_command: git-credential-cache --timeout=3600 get
09:28:05.358166 run-command.c:637       trace: run_command: 'git credential-cache --timeout=3600 get'
09:28:05.476566 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:28:05.479473 git.c:654               trace: exec: git-credential-cache --timeout=3600 get
09:28:05.479473 run-command.c:637       trace: run_command: git-credential-cache --timeout=3600 get
09:28:05.586521 run-command.c:637       trace: run_command: 'c:\Program Files\Microsoft VS Code\resources\app\extensions\git\out\askpass.sh' 'Username for '\''https://helloword.visualstudio.com'\'': '
09:28:17.960942 run-command.c:637       trace: run_command: 'c:\Program Files\Microsoft VS Code\resources\app\extensions\git\out\askpass.sh' 'Password for '\''https://hello@word.com@helloword.visualstudio.com'\'': '
09:28:22.378461 run-command.c:637       trace: run_command: 'git credential-manager store'
09:28:22.492587 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:28:22.494911 git.c:654               trace: exec: git-credential-manager store
09:28:22.494911 run-command.c:637       trace: run_command: git-credential-manager store
09:28:22.593335 ...\Common.cs:677       trace: [Main] git-credential-manager (v1.17.0) 'store'
09:28:22.660141 ...\Git\Where.cs:361    trace: [FindGitInstallations] found 1 Git installation(s).
09:28:22.665803 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 35 entries.
09:28:22.668796 ...\Common.cs:472       trace: [LoadOperationArguments] writeLog = 'True'.
09:28:22.668796 ...\Common.cs:285       trace: [EnableTraceLogging] trace logging enabled.
09:28:22.668796 ...\Common.cs:290       trace: [EnableTraceLogging] git local config found at 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\.git\config'.
09:28:22.672884 ...\Common.cs:345       trace: [EnableTraceLoggingFile] trace log destination is 'c:\Users\word\Desktop\typescriptlearning\learningTypescript\.git'.
09:28:22.710243 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'https://hello@word.com@helloword.visualstudio.com/'.
09:28:22.967339 ...uthentication.cs:230 trace: [DetectAuthority] detected 'https://helloword.visualstudio.com/' as VSTS from GET response.
09:28:22.967339 ...uthentication.cs:298 trace: [DetectAuthority] tenant resource for 'https://helloword.visualstudio.com/' is {00000000000000000000000000000000}.
09:28:22.967339 ...uthentication.cs:364 trace: [GetAuthentication] MSA authority detected.
09:28:23.019028 ...\Common.cs:183       trace: [CreateAuthentication] authority for 'https://hello@word.com@helloword.visualstudio.com/' is Microsoft Live.
09:28:23.019028 ...\Program.cs:523      trace: [Store] storing VSTS credentials for 'https://hello@word.com@helloword.visualstudio.com/'.
09:28:23.047249 run-command.c:637       trace: run_command: 'git credential-cache --timeout=3600 store'
09:28:23.151080 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:28:23.152078 git.c:654               trace: exec: git-credential-cache --timeout=3600 store
09:28:23.152078 run-command.c:637       trace: run_command: git-credential-cache --timeout=3600 store
09:28:23.238193 run-command.c:637       trace: run_command: 'git credential-cache --timeout=3600 store'
09:28:23.342458 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:28:23.345484 git.c:654               trace: exec: git-credential-cache --timeout=3600 store
09:28:23.345484 run-command.c:637       trace: run_command: git-credential-cache --timeout=3600 store
09:28:23.422377 run-command.c:637       trace: run_command: git rev-list --objects --stdin --not --all --quiet
09:28:23.473770 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:28:23.475822 git.c:415               trace: built-in: git rev-list --objects --stdin --not --all --quiet
09:28:23.487016 run-command.c:637       trace: run_command: git rev-list --objects --stdin --not --all --quiet
09:28:23.535727 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:28:23.536726 git.c:415               trace: built-in: git rev-list --objects --stdin --not --all --quiet
09:28:23.555645 run-command.c:1553      run_processes_parallel: preparing to run up to 1 tasks
09:28:23.555645 run-command.c:1585      run_processes_parallel: done
09:28:23.555645 run-command.c:637       trace: run_command: git gc --auto
09:28:23.604575 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:28:23.606665 git.c:415               trace: built-in: git gc --auto
09:28:23.615079 run-command.c:637       trace: run_command: git merge FETCH_HEAD
09:28:23.662889 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:28:23.665885 git.c:415               trace: built-in: git merge FETCH_HEAD
09:28:23.754388 run-command.c:637       trace: run_command: git gc --auto
09:28:23.811548 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
09:28:23.813543 git.c:415               trace: built-in: git gc --auto
09:28:24.029633 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:24.033404 git.c:415               trace: built-in: git status -z -u
09:28:24.235888 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:24.235888 git.c:415               trace: built-in: git symbolic-ref --short HEAD
09:28:24.457474 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:24.458216 git.c:415               trace: built-in: git rev-parse master
09:28:24.701013 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:24.702009 git.c:415               trace: built-in: git rev-parse --symbolic-full-name 'master@{u}'
09:28:24.983153 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:25.002838 git.c:415               trace: built-in: git rev-list --left-right master...refs/remotes/origin/master
09:28:25.743251 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:25.744244 git.c:415               trace: built-in: git show HEAD:package.json
09:28:25.789927 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:25.793931 git.c:415               trace: built-in: git for-each-ref --format '%(refname) %(objectname)' --sort -committerdate
09:28:25.802630 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:25.806217 git.c:415               trace: built-in: git remote --verbose
09:28:29.586546 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:29.593976 git.c:415               trace: built-in: git status -z -u
09:28:30.675693 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:30.676691 git.c:415               trace: built-in: git symbolic-ref --short HEAD
09:28:30.800580 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:30.801578 git.c:415               trace: built-in: git rev-parse master
09:28:30.929800 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:30.930794 git.c:415               trace: built-in: git rev-parse --symbolic-full-name 'master@{u}'
09:28:31.060229 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:31.062223 git.c:415               trace: built-in: git rev-list --left-right master...refs/remotes/origin/master
09:28:31.210989 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:31.211987 git.c:415               trace: built-in: git for-each-ref --format '%(refname) %(objectname)' --sort -committerdate
09:28:31.242324 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:31.243322 git.c:415               trace: built-in: git remote --verbose
09:28:54.258350 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:28:54.259342 git.c:415               trace: built-in: git show :index.ts
09:30:46.424708 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
09:30:46.425704 git.c:415               trace: built-in: git rev-parse --show-toplevel
ph55 commented 6 years ago

Same issue. VSCode + Bibucket.

Need to type password twice

  1. Bitbucket pop-up image

  2. VSCode image


EDIT: I think it was SourceTree. I removed it - and issue gone.

TJSoftware commented 6 years ago

Additional information. The above logs were from a new install. I first thought that it could have been something that I did incorrect, however, when I got to a machine that had previously been working (no password requests) I received a prompt.

git version git version 2.18.0.windows.1 git credential-manager version Git Credential Manager for Windows version 1.16.2

I did not update the cred manager or change anything from last night to this morning. Is it possible that there is a disconnect going on with bitbucket?

whoisj commented 6 years ago

@TJSoftware your issue appears to #704 which already has a pull-request up for review to resolve it.

@jaouharDAHMOUL the failure reported is a failure to look up the Identity Service using VSTS Location Service. Since the Identity Service is what the GCM uses to exchange the access token granted from Azure logon for the VSTS personal access token, the GCM is forces to abort.

Not finding a service is a potentially serious issue, is https://helloword.visualstudio.com you actual HOST URL or just a replacement you used in the log?

jaouharDAHMOUL commented 6 years ago

@whoisj Thank you for your response! https://helloword.visualstudio.com is a replacement. my real URL works fine !

thanks in advance

whoisj commented 6 years ago

my real URL works fine !

Wait, what? Now I'm confused πŸ˜• please explain. Is your issue resolved, or still happening?

omatrot commented 6 years ago

@whoisj What @jaouharDAHMOUL was trying to say is that the real url xxx.visualstudio.com works fine in the browser, the authentication is OK. The problem with Git is not resolved.

rochurain commented 6 years ago

I have the same problem

whoisj commented 6 years ago

@omatrot thanks for the clarification. Are you seeing similar problems? If so, would you be willing to capture a trace log and share it? @rochurain the same to you. πŸ™‚

omatrot commented 6 years ago

@whoisj @jaouharDAHMOUL is an intern that works with me. I opened the case to make him learn GitHub. I'm personally working on a Mac no problem here.

jaouharDAHMOUL commented 6 years ago

@omatrot @whoisj
when i work with my public account github there is no problem, im asked for my password just ONE time for my first push or pull !! I think the problem is with my account visualstudio team. Maybe is a configuration's problem?!!

whoisj commented 6 years ago

@omatrot thanks for the backgrounder.

@jaouharDAHMOUL public repositories on GitHub do not require authentication to fetch or pull from. Only push to. Private repositories require authentication both ways.

With Visual Studio Team Services [VSTS] everything is private, so authentication is necessary both ways. Can you provide the URL to your VSTS account? With that I can look at the service logs for failed attempts to query to the location service from GCM.

Yes, it is likely a configuration problem.

whoisj commented 6 years ago

To those hitting the BitBucket authentication issue, v1.17.1 Preview 1 ought to resolve your issues.

jaouharDAHMOUL commented 6 years ago

@whoisj This is my URL "https://stillinprogress.visualstudio.com/" Thanks in advance !

JanTuck commented 6 years ago

I have a similar issue with IntelliJ and a private repo on Github. It prompts me 3+ times on push. Then says i don’t Have access. Going to terminal and pushing prompts me with GCM once, fails and prompts me with in terminal password requests.

All begin to happen after i changed my password.

Will make an issue later with the proper info.

whoisj commented 6 years ago

@jaouharDAHMOUL @JanTuck we've started seeing issues with proxies and Azure Identity authentication start appearing again. Proxies have, historically, been our Achilles's Heel and this time it is no different. The best suggestion I make is to capture as much data as possible so it can analyzed.

To capture trace logging...

  1. Open Command Prompt.
  2. Use cd to get the root of your Git work space.
  3. Run set GIT_TRACE=1
  4. Run set GCM_TRACE=1
  5. Reproduce your issue.

The trace should be written out to the console as things happen. Hopefully, we'll catch something specific. My guess is a complaint about not finding the VSTS location service (which has been happening a lot recently when users are behind a proxy).

PaulDotNet commented 5 years ago

I wrote a small .net core tool that checks if there are no IPv4/IPv6 DNS issues that may result in timeouts, repeated password entries and long push or pull times. If anyone interested it is here:

https://github.com/PaulDotNet/How-Is-My-Dns

zvilius commented 5 years ago

Update: this issue is resolved for me in GCMW v1.18.2

I am having this issue (or similar) when trying to work with a git repo hosted on Azure DevOps using Git for Windows from the Command Prompt. I used Visual Studio to clone the repo for this example.

I created a Personal Access Token by hand in the Azure project portal and I can enter that password and get the git command to function. But this is not the expected user experience .. for example as described on docs.microsoft.com. I have to re-enter the password for every git command, and this does not use my preferred authentication method.

> git version
git version 2.19.1.windows.1
> git credential-manager version
Git Credential Manager for Windows version 1.18.0

I created a trace log:

> set g
GCM_TRACE=C:\Users\Mark Zvilius\git.log
GIT_TRACE=C:\Users\Mark Zvilius\git.log

A couple git config parameters:

> git config --list
...
credential.helper=manager
remote.origin.url=https://markzvilius@dev.azure.com/markzvilius/xxx/_git/yyy

Reproduce issue:

> git ls-remote
fatal: NullReferenceException encountered.
   Object reference not set to an instance of an object.
Password for 'https://markzvilius@dev.azure.com':
fatal: NullReferenceException encountered.
   Object reference not set to an instance of an object.
From https://markzvilius@dev.azure.com/markzvilius/xxx/_git/yyy
6d22f3758f5980d6f89da5e956f156f5818c2e71        HEAD
6d22f3758f5980d6f89da5e956f156f5818c2e71        refs/heads/master

Here is the git.log output (with one annotation from me):

19:48:08.366687 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
19:48:08.366687 git.c:415               trace: built-in: git ls-remote
19:48:08.366687 run-command.c:637       trace: run_command: GIT_DIR=.git git remote-https origin https://markzvilius@dev.azure.com/markzvilius/xxx/_git/yyy
19:48:08.382263 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
19:48:08.382263 git.c:671               trace: exec: git-remote-https origin https://markzvilius@dev.azure.com/markzvilius/xxx/_git/yyy
19:48:08.382263 run-command.c:637       trace: run_command: git-remote-https origin https://markzvilius@dev.azure.com/markzvilius/xxx/_git/yyy
19:48:08.397817 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
19:48:08.850942 run-command.c:637       trace: run_command: 'git credential-manager get'
19:48:08.944752 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
19:48:08.944752 git.c:671               trace: exec: git-credential-manager get
19:48:08.944752 run-command.c:637       trace: run_command: git-credential-manager get
19:48:09.001926 ...\Common.cs:744       trace: [Main] git-credential-manager (v1.18.0) 'get'
19:48:09.064513 ...\Git\Where.cs:348    trace: [FindGitInstallations] found 1 Git installation(s).
19:48:09.064513 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 28 entries.
19:48:09.111370 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'https://markzvilius@dev.azure.com/'.
19:48:09.627732 ...uthentication.cs:229 trace: [DetectAuthority] detected 'https://dev.azure.com/markzvilius/' as Azure DevOps from GET response.
19:48:09.643034 ...\Program.cs:601      trace: [Run] ! error: 'Object reference not set to an instance of an object.'.
19:48:09.643034 ...\Common.cs:709       trace: [LogEvent] System.NullReferenceException: Object reference not set to an instance of an object.
   at AzureDevOps.Authentication.Authentication.<DetectAuthority>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at AzureDevOps.Authentication.Authentication.<GetAuthentication>d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Alm.Cli.CommonFunctions.<CreateAuthentication>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Alm.Cli.CommonFunctions.<QueryCredentials>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Alm.Cli.Program.<<Get>b__24_0>d.MoveNext()
19:48:09.643034 ...\Program.cs:601      trace: [Run] fatal: NullReferenceException encountered.
   Object reference not set to an instance of an object.
19:48:09.658308 run-command.c:637       trace: run_command: bash -c 'test "a$SHELL" '\!'= "a${SHELL%.exe}" || exit 127; cat >/dev/tty && read -r -s line </dev/tty && echo "$line" && echo >/dev/tty'

****** Password prompt: I enter the password from the PAT that I created. ******

19:50:01.658956 run-command.c:637       trace: run_command: 'git credential-manager store'
19:50:01.721297 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
19:50:01.721297 git.c:671               trace: exec: git-credential-manager store
19:50:01.721297 run-command.c:637       trace: run_command: git-credential-manager store
19:50:01.799493 ...\Common.cs:744       trace: [Main] git-credential-manager (v1.18.0) 'store'
19:50:01.863573 ...\Git\Where.cs:348    trace: [FindGitInstallations] found 1 Git installation(s).
19:50:01.863573 ...Configuration.cs:222 trace: [LoadGitConfiguration] git All config read, 28 entries.
19:50:01.894895 ...\Common.cs:85        trace: [CreateAuthentication] detecting authority type for 'https://markzvilius@dev.azure.com/'.
19:50:02.120889 ...uthentication.cs:229 trace: [DetectAuthority] detected 'https://dev.azure.com/markzvilius/' as Azure DevOps from GET response.
19:50:02.120889 ...\Program.cs:601      trace: [Run] ! error: 'Object reference not set to an instance of an object.'.
19:50:02.120889 ...\Common.cs:709       trace: [LogEvent] System.NullReferenceException: Object reference not set to an instance of an object.
   at AzureDevOps.Authentication.Authentication.<DetectAuthority>d__34.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at AzureDevOps.Authentication.Authentication.<GetAuthentication>d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Alm.Cli.CommonFunctions.<CreateAuthentication>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Alm.Cli.Program.<<Store>b__27_0>d.MoveNext()
19:50:02.120889 ...\Program.cs:601      trace: [Run] fatal: NullReferenceException encountered.
   Object reference not set to an instance of an object.
bartdk-be commented 5 years ago

Any news on this topic ? Since it's kind of blocking ... thanks !

aleksander351 commented 5 years ago

I need to kill the Git Credential Manager for Windows process to be able to push anything to bitbucket.

quantuminformation commented 5 years ago

Just run into this on win10 ((

patdaman commented 5 years ago

I am using simple command line in Windows 10 with version 1.18.0 After updating to 1.18.5 it is working correctly. zvilius above stated that it began working correctly with version 1.18.2 https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/latest

Good luck!

DreadKnight commented 5 years ago

I have the same issue overall (the dialog is the same each time though) on Linux, I'm using KDE Neon. I've even tried some stuff like, but no luck... git config --global credential.helper cache

NeoBeum commented 5 years ago
Get-Service sshd,ssh-agent

If they are both running:

ssh-add $ENV:USERPROFILE\.ssh\id_rsa

Then, you need to add your host machine as known_host in powershell

ssh $ENV:USERNAME@$ENV:COMPUTERNAME

once the credential manager checks fingerprint and prompts to add, you can exit ssh then try to clone

git clone git@github:USER/REPO.git LOCALPATH

img

ssh $ENV:USERNAME@$ENV:COMPUTERNAME

Imgur

or you can keep working within SSH (its confusing because its ssh, but you're SSH'n to your own PowerShell window - not GitHub) Imgur

nico-abram commented 5 years ago

It's also asking me for credentials every time. I'm not sure if it's the same issue. Here's the logs froma git push:

15:17:10.848781 git.c:344               trace: built-in: git 'push'
15:17:10.849781 run-command.c:627       trace: run_command: 'remote-https' 'origin' 'https://www.github.com/nico-abram/rusty-boy-advance'
15:17:10.862782 git.c:576               trace: exec: 'git-remote-https' 'origin' 'https://www.github.com/nico-abram/rusty-boy-advance'
15:17:10.862782 run-command.c:627       trace: run_command: 'git-remote-https' 'origin' 'https://www.github.com/nico-abram/rusty-boy-advance'
15:17:12.459873 run-command.c:627       trace: run_command: 'git credential-manager get'
15:17:12.500875 git.c:576               trace: exec: 'git-credential-manager' 'get'
15:17:12.501875 run-command.c:627       trace: run_command: 'git-credential-manager' 'get'
15:17:12.534877 ...\Common.cs:527       trace: [Main] git-credential-manager (v1.14.0) 'get'
15:17:12.598881 ...\Where.cs:240        trace: [FindGitInstallations] found 1 Git installation(s).
15:17:12.602881 ...Configuration.cs:405 trace: [LoadGitConfiguration] git All config read, 34 entries.
15:17:12.603881 ...\Where.cs:240        trace: [FindGitInstallations] found 1 Git installation(s).
15:17:12.604881 ...Configuration.cs:405 trace: [LoadGitConfiguration] git All config read, 34 entries.
15:17:12.628883 ...\Common.cs:77        trace: [CreateAuthentication] detecting authority type for 'https://github.com/'.
15:17:12.637883 ...uthentication.cs:132 trace: [GetAuthentication] created GitHub authentication for 'https://github.com/'.
15:17:12.637883 ...\Common.cs:142       trace: [CreateAuthentication] authority for 'https://github.com/' is GitHub.
15:17:12.695887 ...icationPrompts.cs:46 trace: [CredentialModalPrompt] prompting user for credentials for 'https://github.com/'.
15:17:20.206316 ...\Authority.cs:127    trace: [AcquireToken] server responded with Created.
15:17:20.212316 ...\Authority.cs:151    trace: [AcquireToken] authentication success: new personal access token for 'https://github.com/' created.
15:17:20.217317 ...uthentication.cs:190 trace: [InteractiveLogon] token acquisition for 'https://github.com/' succeeded
15:17:20.219317 ...seSecureStore.cs:238 trace: [WriteCredential] failed to write credentials: Win32Exception.
15:17:20.997361 ...\Authority.cs:227    trace: [ValidateCredentials] credential validation for 'https://github.com/' succeeded.
15:17:20.998361 ...\Common.cs:661       trace: [QueryCredentials] credentials for 'https://github.com/' found.
15:17:20.999361 ...\Common.cs:495       trace: [LogEvent] GitHub credentials for 'https://github.com/' successfully retrieved.
15:17:21.583395 run-command.c:627       trace: run_command: 'git credential-manager store'
15:17:21.640398 git.c:576               trace: exec: 'git-credential-manager' 'store'
15:17:21.641398 run-command.c:627       trace: run_command: 'git-credential-manager' 'store'
15:17:21.678400 ...\Common.cs:527       trace: [Main] git-credential-manager (v1.14.0) 'store'
15:17:21.746404 ...\Where.cs:240        trace: [FindGitInstallations] found 1 Git installation(s).
15:17:21.750404 ...Configuration.cs:405 trace: [LoadGitConfiguration] git All config read, 34 entries.
15:17:21.751404 ...\Where.cs:240        trace: [FindGitInstallations] found 1 Git installation(s).
15:17:21.752405 ...Configuration.cs:405 trace: [LoadGitConfiguration] git All config read, 34 entries.
15:17:21.769405 ...\Common.cs:77        trace: [CreateAuthentication] detecting authority type for 'https://github.com/'.
15:17:21.778406 ...uthentication.cs:132 trace: [GetAuthentication] created GitHub authentication for 'https://github.com/'.
15:17:21.778406 ...\Common.cs:142       trace: [CreateAuthentication] authority for 'https://github.com/' is GitHub.
15:17:21.778406 ...\Program.cs:351      trace: [Store] storing GitHub credentials for 'https://github.com/'.
15:17:21.781406 ...seSecureStore.cs:238 trace: [WriteCredential] failed to write credentials: Win32Exception.
warning: redirecting to https://github.com/nico-abram/rusty-boy-advance.git/
Everything up-to-date

The issue seems to be "failed to write credentials: Win32Exception."

OleksandrYatsiuk commented 4 years ago
  1. Create SSH key.
  2. Add SSH Key (public) in project.
  3. Clone project with SSH
  4. Profit.
ohadschn commented 4 years ago

For those with failed to find Identity Service for in their logs: https://github.com/microsoft/Git-Credential-Manager-for-Windows/issues/858#issuecomment-521248756

viertelb commented 4 years ago

I am having the same problem. The graphical login manager is not even working. I have to put in my credentials in console afterwards, again. And every time. Do I have to update the Windows Git Credential Manager? And if yes, how?

fr0ntmaker commented 4 years ago

If you need to do a push without username and password prompt, but you are always prompted, then your origin remote is pointing at the https url rather than the ssh url.

  1. Check it: git remote -v

  2. Change it from HTTPS to SSH: git remote set-url origin git@github.com:USERNAME/OTHERREPOSITORY.git

  3. Check it again & enjoy: git remote -v

Reference: https://medium.com/@amanze.ogbonna/accessing-pushing-to-github-without-username-and-password-3022feb077fb

  1. https://help.github.com/articles/changing-a-remote-s-url/
  2. http://stackoverflow.com/questions/14762034/push-to-github-without-password-using-ssh-key
  3. http://git-scm.com/docs/gitcredentials
viertelb commented 4 years ago

Of course you then have to use a SSH key. I was unable to add the key to ssh-agent because the service was not running. This answer helped fixing it: https://stackoverflow.com/questions/52113738/starting-ssh-agent-on-windows-10-fails-unable-to-start-ssh-agent-service-erro

EDIT: Although this helped to get me a connection to github:

C:\Users\ben\git\AndroidStudioThird>ssh -vT git@github.com
OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
debug1: Connecting to github.com [140.82.118.4] port 22.
debug1: Connection established.
debug1: identity file C:\\Users\\ben/.ssh/id_rsa type 0
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\ben/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\ben/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\ben/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\ben/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\ben/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\ben/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\ben/.ssh/id_ed25519-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\ben/.ssh/id_xmss type -1
debug1: key_load_public: No such file or directory
debug1: identity file C:\\Users\\ben/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_for_Windows_7.7
debug1: Remote protocol version 2.0, remote software version babeld-a950f115
debug1: no match: babeld-a950f115
debug1: Authenticating to github.com:22 as 'git'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: rsa-sha2-512
debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: ssh-rsa SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8
debug1: Host 'github.com' is known and matches the RSA host key.
debug1: Found key in C:\\Users\\ben/.ssh/known_hosts:2
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after 134217728 blocks
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,rsa-sha2-512,rsa-sha2-256,ssh-dss>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Offering public key: RSA SHA256:/tXCXyhipl4ZyVjtZEA+T1gkx8kqJKjGgYtd9iPsYuo C:\\Users\\ben\\.ssh\\id_rsa2
debug1: Server accepts key: pkalg ssh-rsa blen 535
warning: agent returned different signature type ssh-rsa (expected rsa-sha2-512)
debug1: Authentication succeeded (publickey).
Authenticated to github.com ([140.82.118.4]:22).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
Hi bvrulez! You've successfully authenticated, but GitHub does not provide shell access.

I am not able to pull or push anything due to:

C:\Users\ben\git\AndroidStudioThird>git pull
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists..

I am not 100% sure if the SSH key should be generated for user git@github.com or for my user so I tried both. I also added the key to ssh-agent and I can run in PowerShell:

PS C:\WINDOWS\system32> Get-Service ssh-agent
Status   Name               DisplayName
------   ----               -----------
Running  ssh-agent          OpenSSH Authentication Agent

I realized that I can set different usernames with

git remote set-url origin git@github.com:USERNAME/android-squeezer

and I always get the same response. So maybe I put in the wrong username. It could be my email login or my actual username. I even tried my "name" as shown above the username. Nothing helped but the error message stays the same.

islxyqwe commented 4 years ago

I have same issue. In the log it seems like the credential manager keep looking for a credential with key "git:http://192.168.10.149/" (which is a GitLab server in local network), and store the credential with key "git:http://islxyqwe@192.168.10.149/". Here is log about credential

09:48:02.435236 run-command.c:663 trace: run_command: 'git credential-manager-core get' 09:48:02.531605 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core 09:48:02.532605 git.c:704 trace: exec: git-credential-manager-core get 09:48:02.532605 run-command.c:663 trace: run_command: git-credential-manager-core get 09:48:02.588606 ...\Application.cs:69 trace: [RunInternalAsync] Git Credential Manager version 2.0.194-beta+819e6bc120 (Windows, .NET Framework 4.0.30319.42000) 'get' 09:48:02.591605 ...\Command.cs:63 trace: [ExecuteAsync] Start 'get' command... 09:48:02.599605 ...\Command.cs:74 trace: [ExecuteAsync] Detecting host provider for input: 09:48:02.600606 ...\Command.cs:75 trace: [ExecuteAsync] protocol=http 09:48:02.600606 ...\Command.cs:75 trace: [ExecuteAsync] host=192.168.10.149 09:48:02.603606 ...\LibGit2.cs:30 trace: [GetConfiguration] Opening default Git configuration... 09:48:02.605605 ...\LibGit2.cs:46 trace: [GetConfiguration] Adding local configuration from repository 'G:/sample/.git/'... 09:48:02.605605 ...\LibGit2.cs:111 trace: [.ctor] Creating Git configuration snapshot... 09:48:02.606605 ...\LibGit2.cs:139 trace: [Enumerate] Enumerating Git configuration entries... 09:48:02.607605 ...\LibGit2.cs:146 trace: [Enumerate] Enumeration complete. 09:48:02.608606 ...\LibGit2.cs:199 trace: [TryGetValue] Reading Git configuration entry 'credential.provider'... 09:48:02.609605 ...\LibGit2.cs:208 trace: [TryGetValue] No entry found. 09:48:02.609605 ...\LibGit2.cs:139 trace: [Enumerate] Enumerating Git configuration entries... 09:48:02.609605 ...\LibGit2.cs:146 trace: [Enumerate] Enumeration complete. 09:48:02.609605 ...\LibGit2.cs:199 trace: [TryGetValue] Reading Git configuration entry 'credential.authority'... 09:48:02.609605 ...\LibGit2.cs:208 trace: [TryGetValue] No entry found. 09:48:02.609605 ...viderRegistry.cs:129 trace: [GetProvider] Performing auto-detection of host provider. 09:48:02.610606 ...\Command.cs:77 trace: [ExecuteAsync] Host provider 'Generic' was selected. 09:48:02.613603 ...\HostProvider.cs:104 trace: [GetCredentialAsync] Looking for existing credential in store with key 'git:http://192.168.10.149/'... 09:48:02.613603 ...\HostProvider.cs:109 trace: [GetCredentialAsync] No existing credential found. 09:48:02.613603 ...\HostProvider.cs:112 trace: [GetCredentialAsync] Creating new credential... 09:48:02.615604 ...\LibGit2.cs:139 trace: [Enumerate] Enumerating Git configuration entries... 09:48:02.615604 ...\LibGit2.cs:146 trace: [Enumerate] Enumeration complete. 09:48:02.615604 ...\LibGit2.cs:199 trace: [TryGetValue] Reading Git configuration entry 'credential.allowWindowsAuth'... 09:48:02.615604 ...\LibGit2.cs:208 trace: [TryGetValue] No entry found. 09:48:02.615604 ...icHostProvider.cs:88 trace: [GenerateCredentialAsync] Windows Integrated Authentication detection has been disabled. 09:48:02.615604 ...icHostProvider.cs:91 trace: [GenerateCredentialAsync] Prompting for basic credentials... 09:48:02.615604 ...\LibGit2.cs:139 trace: [Enumerate] Enumerating Git configuration entries... 09:48:02.615604 ...\LibGit2.cs:146 trace: [Enumerate] Enumeration complete. 09:48:02.615604 ...\LibGit2.cs:199 trace: [TryGetValue] Reading Git configuration entry 'credential.interactive'... 09:48:02.615604 ...\LibGit2.cs:208 trace: [TryGetValue] No entry found. 09:48:07.305156 ...\HostProvider.cs:114 trace: [GetCredentialAsync] Credential created. 09:48:07.306156 ...\Command.cs:81 trace: [ExecuteAsync] End 'get' command... 09:48:07.551392 run-command.c:663 trace: run_command: 'git credential-manager-core store' 09:48:07.631789 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core 09:48:07.632789 git.c:704 trace: exec: git-credential-manager-core store 09:48:07.632789 run-command.c:663 trace: run_command: git-credential-manager-core store 09:48:07.681312 ...\Application.cs:69 trace: [RunInternalAsync] Git Credential Manager version 2.0.194-beta+819e6bc120 (Windows, .NET Framework 4.0.30319.42000) 'store' 09:48:07.684312 ...\Command.cs:63 trace: [ExecuteAsync] Start 'store' command... 09:48:07.692311 ...\Command.cs:74 trace: [ExecuteAsync] Detecting host provider for input: 09:48:07.692311 ...\Command.cs:75 trace: [ExecuteAsync] protocol=http 09:48:07.693310 ...\Command.cs:75 trace: [ExecuteAsync] host=192.168.10.149 09:48:07.693310 ...\Command.cs:75 trace: [ExecuteAsync] username=islxyqwe 09:48:07.693310 ...\Command.cs:75 trace: [ExecuteAsync] password=**** 09:48:07.695310 ...\LibGit2.cs:30 trace: [GetConfiguration] Opening default Git configuration... 09:48:07.696310 ...\LibGit2.cs:46 trace: [GetConfiguration] Adding local configuration from repository 'G:/sample/.git/'... 09:48:07.697310 ...\LibGit2.cs:111 trace: [.ctor] Creating Git configuration snapshot... 09:48:07.697310 ...\LibGit2.cs:139 trace: [Enumerate] Enumerating Git configuration entries... 09:48:07.698310 ...\LibGit2.cs:146 trace: [Enumerate] Enumeration complete. 09:48:07.699311 ...\LibGit2.cs:199 trace: [TryGetValue] Reading Git configuration entry 'credential.provider'... 09:48:07.699311 ...\LibGit2.cs:208 trace: [TryGetValue] No entry found. 09:48:07.700313 ...\LibGit2.cs:139 trace: [Enumerate] Enumerating Git configuration entries... 09:48:07.700313 ...\LibGit2.cs:146 trace: [Enumerate] Enumeration complete. 09:48:07.700313 ...\LibGit2.cs:199 trace: [TryGetValue] Reading Git configuration entry 'credential.authority'... 09:48:07.700313 ...\LibGit2.cs:208 trace: [TryGetValue] No entry found. 09:48:07.700313 ...viderRegistry.cs:129 trace: [GetProvider] Performing auto-detection of host provider. 09:48:07.701311 ...\Command.cs:77 trace: [ExecuteAsync] Host provider 'Generic' was selected. 09:48:07.701311 ...\HostProvider.cs:143 trace: [StoreCredentialAsync] Storing credential with key 'git:http://islxyqwe@192.168.10.149/'... 09:48:07.706310 ...\HostProvider.cs:145 trace: [StoreCredentialAsync] Credential was successfully stored. 09:48:07.706310 ...\Command.cs:81 trace: [ExecuteAsync] End 'store' command... 09:48:07.715319 run-command.c:663 trace: run_command: 'git credential-manager store' 09:48:07.774637 exec-cmd.c:237 trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core 09:48:07.775648 git.c:704 trace: exec: git-credential-manager store 09:48:07.775648 run-command.c:663 trace: run_command: git-credential-manager store

KumarHalder commented 3 years ago

https://docs.github.com/en/github/using-git/caching-your-github-credentials-in-git