Skip to content

Instantly share code, notes, and snippets.

@Birch-san
Created April 2, 2024 15:10
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 Birch-san/c980faab0292f2818be5e3c04a4da1ee to your computer and use it in GitHub Desktop.
Save Birch-san/c980faab0292f2818be5e3c04a4da1ee to your computer and use it in GitHub Desktop.
Using fine-grained access token to access your organisation's private GitHub repositories
[url "https://oauth2:github_pat_REDACTED@github.com/"]
insteadOf = https://github.com/
[url "https://oauth2:github_pat_REDACTED@github.com/MYCOOLORG/"]
insteadOf = git@github.com:MYCOOLORG/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment