Intro

Cache Personal Access Token (PAT) for GitHub Enterprise HTTPS

Setup

  • Set Git to store credentials permanently
git config --global credential.helper store
  • Clone / Pull / Push using HTTPS URL to prompt credentials
git clone https://github.gatech.edu/org/repo.git
  • The credentials will automatically be stored in ~/.git-credentials.
cat ~/.git-credentials