Benjamin-Loison / Curriculum-vitae

There are various versions of my CV (it depends on who I am giving this document to)
1 stars 0 forks source link

How to verify `git` tokens with my SSH authenticated setup? #23

Closed Benjamin-Loison closed 9 months ago

Benjamin-Loison commented 9 months ago

Not only git clones are concerned.

git clone https://git:CPP_CLIENT_TOKEN@github.com/Benjamin-Loison/LemnosLife-Client.git
Cloning into 'LemnosLife-Client'...
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
git clone https://git:ghp_CENSORED@github.com/Benjamin-Loison/LemnosLife-Client.git
Cloning into 'LemnosLife-Client'...
remote: Enumerating objects: 4582, done.
remote: Counting objects: 100% (1220/1220), done.
remote: Compressing objects: 100% (553/553), done.
remote: Total 4582 (delta 643), reused 1171 (delta 632), pack-reused 3362
Receiving objects: 100% (4582/4582), 2.11 MiB | 9.99 MiB/s, done.
Resolving deltas: 100% (2461/2461), done.
gh auth login
? What account do you want to log into? GitHub.com
? You're already logged into github.com. Do you want to re-authenticate? No
gh issue list
Welcome to GitHub CLI!

To authenticate, please run `gh auth login`.
 echo 'ghp_CENSORED' | gh auth login --with-token
gh issue list
Showing 30 of 354 open issues in Benjamin-Loison/LemnosLife-Client

#432  Add email related to ac...  enhancement, low priori...  about 11 hours ago
...

https://docs.github.com/en/get-started/getting-started-with-git/caching-your-github-credentials-in-git https://cli.github.com/manual/gh_auth_login -h github.com