Skip to content

Instantly share code, notes, and snippets.

@serinth
Created May 16, 2019 09:47
Show Gist options
  • Save serinth/a6ad1c0c84efe11255cd42efaa41f470 to your computer and use it in GitHub Desktop.
Save serinth/a6ad1c0c84efe11255cd42efaa41f470 to your computer and use it in GitHub Desktop.
git ssh override with http token
git config --global url."https://oauth2:<TOKEN>@gitlab.com/<PROJECT>/<REPO>.git".insteadOf "https://gitlab.com/<PROJECT>/<REPO>.git"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment