Skip to content

git credential-manager is causing huge delays #1874

Closed
@patryksuchowierski

Description

@patryksuchowierski
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions