Git Personal Access Token - jrwhetse/jrwhetse.github.io GitHub Wiki

Overview

Traditionally, interacting with a GitHub repository can be done over SSH, HTTPS, or using a Personal Access Token (PAT). The recommended approach is to use PAT and provides a unified way of access repositories regardless of where access originates. Below are instructions for creating a PAT.

Person Access Token

Create a Personal Access Token (PAT)

  1. Log in to GitHub: https://github.com/

  2. Top-right, under your user icon, choose Settings

    image

  3. On the left frame choose, Developer Settings

  4. On the new left frame choose, Personal access tokens

  5. Click the button, Generate new token

  6. Give a meaningful name to your token

  7. Select the permissions you want to grant the token

  8. Most likely you will want all the โ€œrepoโ€ permissions

    image

  9. Scroll down and click, Generate token

  10. Save your personal token in a secure location. If you lose your token, you can generate another.