Recently, GitHub issued the command line tool (Beta) Beta, the official said, GitHub CLI provides a simpler, more seamless ways to use Github. This command-line tool called GitHub CLI, alias gh.
Now, you can install GitHub CLI on macOS, Windows and Linux. Github also through user feedback, add more features in later versions.
GitHub CLI now provides the basic functions will use some open source contributors, beginning with the issue (Issue) and a pull request (Pull Request). Contributors can use GitHub CLI searching for an open source project and copy (Clone) the repository, and can be seen released by the project maintainer, has marked the label's problems need help. Then, developers will be able to open the browser directly from GitHub CLI, obtain detailed information about the problem.
Developers can create branches, submitted several fixes the code to fix the problem described in Bug, and create a pull request to share contribution. When you create a pull request, GitHub CLI also in the absence of bifurcation, bifurcation created automatically push the branch, and then only create a pull request to incorporate the changes.
When after developers can also use GitHub CLI Quick View pull request to review the situation, the project maintainer reviewed pull request to further amend, developers can rapidly in GitHub CLI, from other branches cut back pull request branch, continue to complete the unfinished work.
user's guidance
Having said that, here is a look at the specific usage of it:
Filtered according to user needs
Find open source project you want to contribute and cloned warehouse, then, if you want to see where I can contribute to the community, you can use gh filters:
Such issue with "help wanted" label will be filtered out.
Quick View details
For example, you want to see the details of the issue of the number # 254, you can use gh quickly open it in a browser to see all the details related to:
Create a pull reques
Create a branch, you can use gh create a request to share your contribution:
To create a branch by using GitHub CLI, it is automatically created when you do not have a branch branch, and Push your branches and create your pull reques to incorporate the changes.
View pull reques state
If you want to quickly view the pull reques dynamic, just type in a terminal:
Check the pull reques
If, one of the maintenance staff reviewed your request and pull reques change. You can use the pull request branch gh to check out:
Currently, GitHub CLI has starred on Github 5.4K, the number of Fork has reached 146 (Github Address: https://github.com/cli/cli#installation-and-upgrading )