Skip to content

Instantly share code, notes, and snippets.

@wawiesel
Created December 17, 2017 19:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wawiesel/7f2ce65719857aed664ba73aeced5375 to your computer and use it in GitHub Desktop.
Save wawiesel/7f2ce65719857aed664ba73aeced5375 to your computer and use it in GitHub Desktop.
read/write access to github from anywhere
#make sure your access is https in your git config file
vi .git/config
[remote "origin"]
url = https://wawiesel@github.com/wawiesel/BootsOnTheGround.git
fetch = +refs/heads/*:refs/remotes/origin/*
#store passwords globally in a cache
git config --global credential.helper store
#create a personal access token https://github.com/settings/tokens
#copy the token to the clipboard
# do a push but when it asks for a password, paste in the access token
git push
# do another git push and verify you don't have to paste!
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment