Working with GitHub has never been boring, as a matter of fact, it's the best part of the development process on my side. As usual, we use git and other distributed version control systems like Mercurial and many more.
I have been using the GitHub cli since February this year, and it is great. So let me show you how I got to use it. I'm on Ubuntu by the way. But I guess the process is the same on other OS, I'll check it out.
First, you download it on releases. Select the file with an extension based on your OS.
After download, follow normal procedures of installing an app on your environment/OS. Once the file is installed, BOOM! You are ready to interact with the gh cli.
There are no many configuration settings needed. The commands can be used anywhere regardless of the Operating System. The commands are as shown below:
|view version of gh cli||-|
Working with repositories (repo)
|view current repo on the browser (web)||cli.github.com/manual/gh_repo_view|
|create a fork of a repo||cli.github.com/manual/gh_repo_fork|
|create a new repo||cli.github.com/manual/gh_repo_create|
|clone a repo locally||cli.github.com/manual/gh_repo_clone|
Working with Issues
|view an issue of a repo||cli.github.com/manual/gh_issue_view|
|create an issue locally||cli.github.com/manual/gh_issue_create|
|displays the status of issues on the repo||cli.github.com/manual/gh_issue_status|
|lists all issues raised on the repo||cli.github.com/manual/gh_issue_list|
Working with pull requests (pr)
|view pull requests in browser||cli.github.com/manual/gh_pr_view|
|lists the statuses of available pull requests||cli.github.com/manual/gh_pr_status|
|lists all pull requests in the current repo||cli.github.com/manual/gh_pr_list|
|create a pull request||cli.github.com/manual/gh_pr_create|
|check out a pull request in git||cli.github.com/manual/gh_pr_checkout|