Skip to content

Instantly share code, notes, and snippets.

@seabbs
Last active July 11, 2019 17:16
Show Gist options
  • Save seabbs/0cac14a50d257eafc09acdf77317e279 to your computer and use it in GitHub Desktop.
Save seabbs/0cac14a50d257eafc09acdf77317e279 to your computer and use it in GitHub Desktop.
Set up Oath access
## For password management
git config --global user.email "[email protected]"
git config --global user.name "Sam Abbott"
git config --global credential.helper cache
git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
# github settings
# developer settings
# create access token and copy
# git pull/push
# add user name
# copy in password when requested
# Pull/push in peace
@seabbs
Copy link
Author

seabbs commented Nov 15, 2017

Use for pull/push access when using two-factor authentication on docker etc. when ssh is not appropriate.

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