Zum Inhalt springen
Kitbay
Einreichen

gh-auth-isolation

MITAktualisiert am 11. Nov. 20265.616GitHub-Sterne

A Squad template stored in gh-aw's .squad folder for agents working on machines where a developer has both a GitHub Enterprise Managed User account and a personal GitHub account.

Was der Skill vermittelt

A Squad template stored in gh-aw's .squad folder for agents working on machines where a developer has both a GitHub Enterprise Managed User account and a personal GitHub account. It shows how to check which account the gh CLI is using, pull the token for a specific account, apply it to a single command rather than switching globally, and avoid mixing credentials between work and personal repositories. It points out that spawned agents inherit the shell's login. Its source line cites use across many sessions with both account types.

Funktionen

  • Check which GitHub account the gh CLI is using
  • Use a specific account's token for one command
  • Keep work and personal GitHub credentials apart