GitHub CLI documentation
GitHub CLI is an open source tool for using GitHub from your computer's command line. When you're working from the command line, you can use the GitHub CLI to save time and avoid switching context.
Start here
- Creating GitHub CLI extensions- Learn how to share new GitHub CLI commands with other users by creating custom extensions for GitHub CLI. 
- Using GitHub CLI extensions- Learn how to use custom extensions written by other GitHub CLI users. 
- Using GitHub CLI in workflows- You can script with GitHub CLI in GitHub Actions workflows. 
- Using GitHub Codespaces with GitHub CLI- You can work with GitHub Codespaces directly from your command line by using gh, the GitHub command line interface. 
Popular CLI tasks
- Creating a pull request- Create a pull request to propose and collaborate on changes to a repository. These changes are proposed in a branch, which ensures that the default branch only contains finished and approved work. 
- Creating an issue- Issues can be created in a variety of ways, so you can choose the most convenient method for your workflow. 
- Adding a new SSH key to your GitHub account- To configure your account on GitHub.com to use your new (or existing) SSH key, you'll also need to add the key to your account. 
- Quickstart for repositories- Learn how to create a new repository and commit your first change in 5 minutes.