Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git required password on every push

Tags:

git

We have a git server in our company. I am using git GUI to connect to it and push and pull source codes to it. The problem is that every time that I want to push my files, I need to enter the password. Is there any way that I can setup the git gui in a way that it doesn't ask me to enter a password every time that I am pushing my files into server?

like image 309
mans Avatar asked Oct 20 '25 10:10

mans


1 Answers

You have to setup you ssh keys. And the private key should either have empty passphrase or you install an agent so that you don't have to type in the password.

See if this link helps: http://progit.org/book/ch4-3.html

If you are using http(s), include the username and password in your url for the server ( by editing the .git/config)

like image 77
manojlds Avatar answered Oct 23 '25 00:10

manojlds



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!