Is there a way to avoid typing the username on git push using HTTPS?

I just want to enter a password. Is there a way to avoid typing the username on git push using HTTPS?

+3


source to share


1 answer


With Git 1.7 and up, you can put your username and password in front of the url. Something like that:

git config remote.origin.url https://you:password@github.com/your/example.git

      



then you can define your user and password and not enter them every time.

+3


source







All Articles