← Home
Omar Hosney
LinkedIn
GitHub CLI

GitHub CLI (gh) Cheat Sheet 🚀

The official command-line tool for GitHub

🛠️ Installation & Setup

📁 Repository Commands

🔀 Pull Request Commands

🐛 Issue Commands

⚡ GitHub Actions

🏷️ Release Commands

🔍 Search Commands

💡 Tip: Use --json flag to get machine-readable output for scripting!

🔑 SSH Key Management

🔐 GPG Key Management

📊 API & Extensions

💡 Popular extensions: gh-dash, gh-copilot, gh-markdown-preview

📋 Codespaces

⚙️ Configuration

🎨 Aliases

🌟 Pro Tips