gh
is GitHub on the command line.
https://github.com/cli/cli| Installer Source| Releases (json) (tab)
gh
is GitHub on the command line.
https://github.com/cli/cli| Installer Source| Releases (json) (tab)
To update or switch versions, run webi gh@stable
(or @v1
, @beta
, etc).
These are the files / directories that are created and/or modified with this install:
~/.config/envman/PATH.env
~/.local/bin/gh
~/.config/gh/
gh
is cross-platform Github command-line. You can perform pull requests create-repo, isssues, fork and other GitHub functionalities right from your terminal while Working with Git and your code.
Installation:
Authenticate with your Github account.
gh auth login
Create a pull request.
gh pr create -t <title> -b <body>
Check out pull requests locally.
gh pr checkout <pr#>
Check the status of your pull requests.
gh pr status
View Your pull requests' checks.
gh pr check
View and filter a repository's open issues.
gh issue list
Create a new release.
gh release create 0.1
How to see the status of recent jobs
gh run list
Note: The Job ID is the third from the right column.
How to view failure details
gh run view <job-id>
How to rerun a failed job
gh run rerun <job-id>
View repository READMEs.
gh repo view
Create Shortcut for a gh
command.
gh alias set bugs 'issue list --label="bugs"'