[READ-ONLY] Mirror of https://github.com/shuuji3/github-playground. Playground to test GitHub & Git
0

Configure Feed

Select the types of activity you want to include in your feed.

github-playground / README.md
811 B 30 lines
1# github-playground 2Playground to test GitHub & Git 3 4## CLI tool for GitHub 5 6[cli/cli: GitHub’s official command line tool](https://github.com/cli/cli) 7 8`gh` is a CLI tool developped by GitHub itself. 9 10[github/hub: A command-line tool that makes git easier to use with GitHub.](https://github.com/github/hub) 11 12There is also `hub` CLI tool for GitHub which is another popular one for a long time. 13 14## How to use `gh` CLI 15 16### Issue 17 18You can create a issue from CLI by running the following command: 19 20```shell 21gh issue create --repo "$REPOSITORY" --title "$ISSUE_TITLE" --body "$ISSUE_BODY" 22``` 23 24### Pull-Request 25 26You also create a pull-request to the upstream repository from the current local branch: 27 28```shell 29gh pr create --base master --title "$PULL_REQUEST_TITLE" --body 'This PR closes #123456.' 30```