Skip to content

Instantly share code, notes, and snippets.

@klaeufer
Created December 16, 2022 15:55
Show Gist options
  • Save klaeufer/0af072eb0d5824d2882ff8406864b1ca to your computer and use it in GitHub Desktop.
Save klaeufer/0af072eb0d5824d2882ff8406864b1ca to your computer and use it in GitHub Desktop.
GitHub Classroom: replace HTTP access tokens with ssh
gsed -i 's/https:\/\/x-access-token:.*@github.com\//git@github.com:/' ./*/.git/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment