GitHub CLI 2 · Setup and repositories
Open the repository in a browser
Open the repository, or a file or PR, on github.com.
gh browse
Official GitHub CLI 2 documentation
More setup and repositories commands
- Check the gh version
- Sign in to GitHub
- Check who you are signed in as
- Clone a repository
- Create a repository from the current folder
- Fork a repository
All setup and repositories commands · GitHub CLI 2 cheatsheet