Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git credential-manager is causing huge delays #1874

Closed
patryksuchowierski opened this issue Oct 10, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@patryksuchowierski
Copy link

commented Oct 10, 2018

  • I was not able to find an open or closed issue matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
$ git --version --build-options

git version 2.19.1.windows.1
cpu: x86_64
built from commit: 11a3092e18f2201acd53e45aaa006f1601b6c02a
sizeof-long: 4
sizeof-size_t: 8
  • Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver

Microsoft Windows [Version 10.0.15063]
  • What options did you set as part of the installation? Or did you choose the
    defaults?
Editor Option: VisualStudioCode
Custom Editor Path: 
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: MinTTY
Performance Tweaks FSCache: Enabled
Use Credential Manager: Enabled
Enable Symlinks: Disabled
Enable Builtin Rebase: Disabled
Enable Builtin Stash: Disabled

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

CMD

git pull
  • What did you expect to occur after running these commands?

I expected it to run faster.

  • What actually happened instead?

It takes long for any remote git operation to complete due to git credential manager execution, I believe.
I tried adding all git related assemblies to firewall rules, I've checked my anti-virus (McAffe) and it doesn't seem to be the problem.

19:19:41.362598 http.c:724              == Info: Connection #0 to host xxxx.visualstudio.com left intact
19:19:41.363597 run-command.c:637       trace: run_command: 'git credential-manager get'
19:20:08.287401 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
19:21:01.117519 http.c:724              == Info: Connection #1 to host xxxx.visualstudio.com left intact
19:21:01.118506 run-command.c:637       trace: run_command: 'git credential-manager store'
19:22:12.622660 exec-cmd.c:236          trace: resolved executable dir: C:/Program Files/Git/mingw64/libexec/git-core
@PhilipOakley

This comment has been minimized.

Copy link

commented Oct 10, 2018

See #1868 and microsoft/Git-Credential-Manager-for-Windows#774 and the solution (of that problem) to install the (very) new release of the Git-Credential-Manager. It may be an underlying issue for you.

Other things that can cause problems are the Anti Virus scanners which tend not to like Git..

@patryksuchowierski

This comment has been minimized.

Copy link
Author

commented Oct 10, 2018

See git-for-windows/git#1868 and Microsoft/Git-Credential-Manager-for-Windows#774 and the solution (of that problem) to install the (very) new release of the Git-Credential-Manager. It may be an underlying issue for you.

Other things that can cause problems are the Anti Virus scanners which tend not to like Git..

Thank you for your reply. Unfortunately, I'm using the newest version of GCM (1.18.1). I'm afraid I'll have to keep on fighting with my AV.

@dscho

This comment has been minimized.

Copy link
Member

commented Oct 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.