GitHub CLI Overview
Pragmatic ways of using the GitHub CLI to do automate repetitive things.
Install the CLI
winget install github.cli
GitHub CLI authentication user experience
Run the following
- In the terminal enter
gh auth login
- Choose GitHub.com
- Select HTTPS as the protocol
- Type Y to authenticate with your GitHub credentials
- Hit Enter to login with a web browser
- Note down the one-time code you’re presented with, and press Enter
- A browser will now open, and you’ll need to log into GitHub if you aren’t already
- Enter the one-time code in the box
GitHub CLI Productivity scripts
Automating GitHub links to Jira systems. Migrating git storage from other providers to GitHub.
Automate managing and monitoring your GitHub teams.