Skip to main content

how to github token

On GitHub

Go to https://github.com/settings/tokens.
Generate new token with minimum read:org, repo rights.

On computer

Windows

git config --global credential.helper manager

Is asking for token first time you git push.

OSX

gh auth login
  • follow the prompts

  • when prompted for your preferred protocol for Git operations, select HTTPS

  • when asked if you would like to authenticate to Git with your GitHub credentials, enter Y