Skip to content

Instantly share code, notes, and snippets.

@seabbs
Last active July 11, 2019 17:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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 "s.e.abbott12@gmail.com"
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