fork-dev / TrackerWin

Bug and issue tracker for Fork for Windows
459 stars 10 forks source link

the git credential manager auto create multiple window #1121

Open wangshuai-007 opened 3 years ago

wangshuai-007 commented 3 years ago

My Fork version is 1.58.0.00 I use Fork manage my Azure Devops repository. After I start Fork,soon ,It will open git credential manager to let me choose microsoft account. If I do not login,the Fork will create new git credential manager windows. I'd like to open my computer all the night,This morning ,I saw the Fork created dozens of windows so that my computer use 100%CPU. So, I want the Fork only create one git credential manager,Any time only one.

DanPristupov commented 3 years ago

It must remember the password and don't ask you again.

Please check if url of the repository contains username and if it does, remove it. Right click on the 'origin' select 'Edit'.

Before:

https://username@dev.azure.com/username/project1/_git/project1

After: https://dev.azure.com/username/project1/_git/project1

rznd commented 3 years ago

It's been happening to me as well. I will try this solution.

wangshuai-007 commented 2 years ago

If any one encounter this situation,you can use the follow powershell to close all

Get-Process | Where {$_.Name -eq 'git-credential-manager-core' -or $_.Name -eq 'git'} | Stop-Process