GitHub CLI
Joshua Emmanuel Santiago2026-01-28T10:28:58+00:00GitHub CLI Cheat Sheet GitHub CLI (gh) is a command-line interface to GitHub for use in your terminal. It helps you interact with many GitHub features—issues, pull requests, checks, releases, and more—without needing to switch to a web browser. Key Concepts Authentication: Required for most operations. gh uses OAuth tokens or Personal Access Tokens (PATs) to authenticate with GitHub. Repository: The primary location for your project's code and collaboration. Many gh commands operate within the context of a repository. Issue: A unit for tracking work, such as bug reports or feature requests. Pull Request (PR): A proposal to merge changes from one branch into [...]









