How To Get Your Personal Authentication/access Token On Github

Kemi OwoyeleKemi Owoyele
1 min read
  1. Click on your avatar from the top right corner, from the drop-down menu, click settings

  1. Click on developer settings

    1. Click on personal access token

  1. From the dropdown, choose tokens(classic)

  1. From the tokens page, click on the generate new tokens button, then from the dropdown, choose the classic option

    1. Verify it is you by entering your password

    2. Add notes to say what the token is for and choose the expiry date for the token

      1. Select the scope for the access token and Click on Generate token.

  1. Copy the token and keep it safe to use for the purpose you generated it. In case you generated the token for the purpose of pushing your codes to Github remote origin; use

    git remote set-url origin https://<personal-access-token>@github.com/username/repository.git

0
Subscribe to my newsletter

Read articles from Kemi Owoyele directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Kemi Owoyele
Kemi Owoyele

frontend developer and technical writer