When I pull or push to private repo I collaborate, I have to write login and password. For other repos ie. my private repos I can log in with private key. How to avoid providing login informations all the time?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The problem here is how you access the remote repo. With
git remote -vyou can see all the remote repos. The ones that start with ‘git@’ are accessed with ssh and therefore use your certificate authentication, but the ones starting with ‘http’ or ‘https’ are accesed by HTTP and need external authentications.The best solution here would be to add all the repos as ssh ones.
Hope this helps.