New Git Device
This page describes how to set up a new git device and store git credentials.
Ubuntu 18.04
- Enable the credential manager.
git config --global credential.helper store
- Tell Git who you are:
git config --global user.email "you@example.com" git config --global user.name "Your Name"
- Generate a public access token in Github.
- Clone a repo of your choice. Enter your username in the “username” field and the public access token in the “password” field.
- Verify this worked by doing a
git pull
for the new repo. You should not be asked to enter any information.