Skip to content

Instantly share code, notes, and snippets.

@sc0rp10n-py
Last active September 11, 2024 06:31
Show Gist options
  • Save sc0rp10n-py/bed9904b77976aef56959b7f9128f5d6 to your computer and use it in GitHub Desktop.
Save sc0rp10n-py/bed9904b77976aef56959b7f9128f5d6 to your computer and use it in GitHub Desktop.

Steps to Setup Personal Access Token

  1. go to this url - click
  2. click "Generate New Token (Classic)"

Don't click beta one

  1. It will ask you to enter your github password, enter that

  2. Then this screen will come

image

enter a note.

set date as "No Expiration".

Select Scopes - ideally you only select scopes you want, but since we are using this personal token in local system so. select all checkboxes.

now when u click generate, a token will appear on your screen, copy that

thats your access token

now next time when you are cloning via HTTPS, you can pass this token as username and password

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment