Link Search Menu Expand Document

New Git Device

This page describes how to set up a new git device and store git credentials.

Ubuntu 18.04

  1. Enable the credential manager.
      git config --global credential.helper store
    
  2. Tell Git who you are:
      git config --global user.email "you@example.com"
      git config --global user.name "Your Name"
    
  3. Generate a public access token in Github.
  4. Clone a repo of your choice. Enter your username in the “username” field and the public access token in the “password” field.
  5. Verify this worked by doing a git pull for the new repo. You should not be asked to enter any information.