git_authenticating_with_github

Git Authenticating with GitHub

Connecting over SSH

If you git clone with SSH, you must generate SSH keys on each computer you use to git push to GitHub or git pull from GitHub. For more information, see “Cloning with SSH urls” (https://docs.github.com/en/github/getting-started-with-github/about-remote-repositories/#cloning-with-ssh-urls) and “Generating a new SSH key. (https://docs.github.com/en/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)”

gh auth login

What account do you want to log into? GitHub.com?

What is your preferred protocol for Git operations? GitHub HTTPS

Authenticate Git with your GitHub credentials? Yes

How would you like to authenticate GitHub CLI? Login with a web browser

First copy your one-time code: XXXX-XXXX

Press Enter to open github.com in your browser

✓ Authentication complete.

gh config set -h github.com git_protocol https

Configured git protocol

✓ Logged in as AzureCloudMonk

Authorize GitHub CLI This GitHub authorization was requested from PLANET EARTH XXX.XXX.XXX.XXX on September 9th, 2022 at 9:09 (PDT). Make sure you trust this device as it will get access to your account.

@AzureCloudMonk - GitHub CLI by GitHub

wants to access your AzureCloudMonk account

Existing access

Create gists

Read org and team membership, read org projects

Full control of private repositories

Update github action workflows

Confirm access

Security key

When you are ready to authenticate, press the button below.

Having problems?

Tip: You are entering sudo mode. After you've performed a sudo-protected action, you'll only be asked to re-authenticate again after a few hours of inactivity.

Authentication code

More information about sudo mode authentication

XXXXXX

Open the two-factor authenticator (TOTP) app on your mobile device to view your authentication code.

Congratulations, you're all set!

Your device is now connected.

https://github.com/login/device/success

Fair Use Sources

Git: Git Fundamentals, Git Inventor - Git Designer: Linus Torvalds, git commands, Git Username, git commit Email Address, Authenticating with GitHub from Git, GitHub, Version control, GitOps, Awesome Git. (navbar_git - see also navbar_github)

GitHub: GitOps, GitHub Copilot (Learn AI-Assisted Python Programming), GitHub for Major Software and Languages, GitHub Fundamentals, GitHub Inventor: GitHub and Git, GitHub Stars: GitHub Organization Ranking, GitHub Stars Ranking, GitHub Big Tech, Cloud Monk's favorite GitHub repos, gh plugin, git help, Version control, GitHub topics, Git topics, Git, GitHub repos, GitHub bibliography, Manning Git-GitHub Series, GitHub Actions, GitHub CodeSpaces, GitHub CLI, GitHub Free, GitHub Pro, GitHub Team, GitHub Enterprise, GitHub security (GitHub MFA - GitHub Passkeys) - GitHub Secrets - Authenticating with GitHub from Git (gh auth login), GLFS, GitHub Packages, GitHub alternative source code repos (GitHub - GitLab - AWS CodeCommit - Google Cloud Source Repositories - Bitbucket), Install Git, Git for Windows (choco search github, brew search github), Git for Linux, Git for macOS, GitHub glossary, Git glossary. (navbar_github - see also navbar_git, navbar_gitops, navbar_iac)


© 1994 - 2024 Cloud Monk Losang Jinpa or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


git_authenticating_with_github.txt · Last modified: 2024/04/28 03:46 (external edit)