Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shuuji3/github-playground
Playground to test GitHub & Git
https://github.com/shuuji3/github-playground
Last synced: about 1 month ago
JSON representation
Playground to test GitHub & Git
- Host: GitHub
- URL: https://github.com/shuuji3/github-playground
- Owner: shuuji3
- Created: 2020-07-23T13:25:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-10T05:59:38.000Z (over 3 years ago)
- Last Synced: 2024-06-11T19:11:17.816Z (5 months ago)
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# github-playground
Playground to test GitHub & Git## CLI tool for GitHub
[cli/cli: GitHub’s official command line tool](https://github.com/cli/cli)
`gh` is a CLI tool developped by GitHub itself.
[github/hub: A command-line tool that makes git easier to use with GitHub.](https://github.com/github/hub)
There is also `hub` CLI tool for GitHub which is another popular one for a long time.
## How to use `gh` CLI
### Issue
You can create a issue from CLI by running the following command:
```shell
gh issue create --repo "$REPOSITORY" --title "$ISSUE_TITLE" --body "$ISSUE_BODY"
```### Pull-Request
You also create a pull-request to the upstream repository from the current local branch:
```shell
gh pr create --base master --title "$PULL_REQUEST_TITLE" --body 'This PR closes #123456.'
```