DEV Community

Cover image for GitHub Token : Very Confusing
raddevus
raddevus

Posted on

GitHub Token : Very Confusing

Just created a new repo and I received an email that stated:

"Basic authentication using a password to Git is deprecated and will soon no longer work."

Ok, I've been through this and I've created a token and uploaded it to my GitHub account, but after that I'm 100% unsure how to use the token to login.

Question

Can someone reply and let me know the steps on how to login via command-line and token to GitHub?

Or, can someone point me to the steps?

Here's the totally confusing document the GitHub team provides.

EDIT -- Additional Info

I just found the following on StackOverflow and I'm reading it now.

Top comments (3)

Collapse
 
saoud profile image
Saoud • Edited

Are you sure you need a PAT instead of a SSH key?

For the SSH key tutorial please see docs.github.com/en/github/authenti...

Collapse
 
raddevus profile image
raddevus

I finally figured it out and wrote it up : stackoverflow.com/questions/189355...
It was really confusing but your mention of a PAT is really what helped me understand. Thanks

Collapse
 
raddevus profile image
raddevus

Thanks I'll check it out.