DEV Community

Discussion on: How to never type passwords when using Git

Collapse
 
manish profile image
Manish Sinha

Unless you're a Windows user (👋 there) you would have noticed you need to enter your password with every Git operation

I was wondering about this statement. I use macOS and never have to enter password for every git operation. The git credentials manager is great, but one can use the old and trusted ssh-agent for managing ssh keys which avoids the need for password prompt.

Or I am misunderstanding. The password is prompted for every operation if using https protocol? Maybe that is indeed the case, but I never use it since ssh protocol is easiest to manage.