Skip to content

Instantly share code, notes, and snippets.

@gerwld
Last active February 22, 2025 20:03
Show Gist options
  • Save gerwld/6bf1182fa36078c37b6d62c09ccdccaf to your computer and use it in GitHub Desktop.
Save gerwld/6bf1182fa36078c37b6d62c09ccdccaf to your computer and use it in GitHub Desktop.
Speedrun Auth Github on a Mac CLI
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