Skip to content

Instantly share code, notes, and snippets.

@chranderson
Created August 22, 2018 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chranderson/cbdbea01bf1033405adc4670c583f874 to your computer and use it in GitHub Desktop.
Save chranderson/cbdbea01bf1033405adc4670c583f874 to your computer and use it in GitHub Desktop.
Fix git error: Could not read Username for gitlab
// cat ~/.gitconfig # Note, this might be ~/.git/config for you
[user]
email = user@example.com
name = Example user
[url "git@gitlab.com:"]
insteadOf = https://gitlab.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment