Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Everytime ask for login when git command

Tags:

git

github

I used personal token to clone private repository,then when I commit or push changes, there would a window ask for login github.

Where can I setting so that don't need to login by browser everytimes?

The ask window is:

enter image description here

like image 596
MOLLY Avatar asked Aug 01 '26 08:08

MOLLY


1 Answers

Once signed-in (preferably with a Personal Access Token), Git should not ask for your credentials again.

Check that git config --global credential.helper is set to manager.
That would use the GCM (Git Credential Manager) from Microsoft (a cross-platform credential manager).

like image 73
VonC Avatar answered Aug 03 '26 01:08

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!