bswen / bswen-project

code for www.bswen.com
http://www.bswen.com
Apache License 2.0
20 stars 34 forks source link

2021/09/others-how-to-solve-github-issue1 #17

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

github-How to solve github git push command line authentication failed error?

  1. Purpose

https://www.bswen.com/2021/09/others-how-to-solve-github-issue1.html

lookinkz commented 2 years ago

Thunks. It is working. But I have another problem, I don't want to enter password-token every time. How can I save it, or how can I manage my authentication to github without entering password every time. For example, I write git commit - enter the login and password. then git push - AGAIN enter the login and password. A little bit annoying...

Looking forward to get the answer. With great respect to author.

bswen commented 2 years ago

Hi, I have tested again, I only input the password once, the later commands do not prompt me to input it again. So , I wonder if you have saved your credentials in your system, you can follow this guide: https://docs.github.com/cn/get-started/getting-started-with-git/updating-credentials-from-the-macos-keychain to save it.

bswen commented 2 years ago

English version: https://docs.github.com/en/get-started/getting-started-with-git/updating-credentials-from-the-macos-keychain