Pular para o conteúdo
Kitbay
Enviar
SkillOficial

gh-auth-isolation

MITAtualizado em 11 de nov. de 20265.616Estrelas no GitHub

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.

O que a skill ensina

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.

O que faz

  • 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