-
-
Save raspberrypisig/cd8a2e9b251b93eca38acf6e5216149a to your computer and use it in GitHub Desktop.
GH CLI multi-account switch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git_protocol: ssh | |
aliases: | |
personal: '!cp ~/.config/gh/hosts.yml.personal ~/.config/gh/hosts.yml && gh auth status' | |
work: '!cp ~/.config/gh/hosts.yml.work ~/.config/gh/hosts.yml && gh auth status' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment