Using Personal Access Tokens #23402
-
Today, there was a scheduled brownout. Within that period it was not possible to pull, push using git username and password. My question is, how to use a Personal Access Token to clone, pull, push from GitHub? What are the terminal commands? I’m using Linux and using the terminal to push to and pull from my GitHub repositories. Typing the Personal Access Token instead of the password did not work either within the brownout period. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @IROdEvO, welcome to the community.
I have created a personal access token to replace the use of password using git over hhtps. From the help docs I’ve read on the subject, I can’t find straight forward information about how to start using the PAT and replace my current form of authentcaition which is a password. When I perform git operations, I am not being prompted for a password so I guess the windows credential manager is managing the password authentication for me. So what do I need to do to actually make the switch? And wha… |
Beta Was this translation helpful? Give feedback.
-
If you’re on Linux, I don’t understand why you aren’t just setting up an ssh key. https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh |
Beta Was this translation helpful? Give feedback.
-
I set up an SSH key. It seems to be the most convenient way. Thank you very much 😊 |
Beta Was this translation helpful? Give feedback.
If you’re on Linux, I don’t understand why you aren’t just setting up an ssh key.
https://docs.github.com/en/github/authenticating-to-github/connecting-to-github-with-ssh