Last active
February 22, 2025 20:03
-
-
Save gerwld/6bf1182fa36078c37b6d62c09ccdccaf to your computer and use it in GitHub Desktop.
Speedrun Auth Github on a Mac CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global user.email "@gmail.com" | |
git config --global user.name "anyname" | |
gh auth login # Then > https > website | |
ssh-keygen -t rsa -b 4096 -C "[email protected]" | |
ssh-add ~/.ssh/id_rsa | |
pbcopy < ~/.ssh/id_rsa.pub | |
settings > ssh and > add new ssh > paste, save, done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment