Skip to content

Instantly share code, notes, and snippets.

@ademuanthony
Last active July 28, 2021 18:49
Show Gist options
  • Save ademuanthony/5a5ec8ff7b72118014d2ffeea9099409 to your computer and use it in GitHub Desktop.
Save ademuanthony/5a5ec8ff7b72118014d2ffeea9099409 to your computer and use it in GitHub Desktop.
Setup github's personal access token on the command line
Add your access token enviroment variable with a name, e.g. GITTOKEN
cd project-folder
git remote set-url origin https://username:[email protected]/usernane/repo-name.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment