1
0
mirror of synced 2026-01-01 09:04:46 -05:00

Expand the GitHub CLI quickstart (#42249)

Co-authored-by: Steve Guntrip <stevecat@github.com>
This commit is contained in:
hubwriter
2023-09-13 12:09:20 +01:00
committed by GitHub
parent 3c1eb8a3b9
commit 997f2f5f7b
4 changed files with 97 additions and 16 deletions

View File

@@ -22,6 +22,12 @@ redirect_from:
For more information about what you can do with {% data variables.product.prodname_cli %}, see the [{% data variables.product.prodname_cli %} manual](https://cli.github.com/manual).
### What's the difference between {% data variables.product.prodname_cli %} and Git on the command line?
The Git command line interface (`git`) allows you to work with a local or remote Git repository. The remote repository may be hosted on {% data variables.product.prodname_dotcom %} or it may be hosted by another service.
{% data variables.product.prodname_cli %} (`gh`) is specifically for working with {% data variables.product.prodname_dotcom %}. It allows you to use the command line to interact with {% data variables.product.prodname_dotcom %} in all sorts of ways, as illustrated by the previous list. If you tend to work on the command line you may prefer using {% data variables.product.prodname_cli %} instead of using {% data variables.product.prodname_dotcom %} in a browser. {% data variables.product.prodname_cli %} also makes it easier for you to create scripts to automate {% data variables.product.prodname_dotcom %} operations.
## Installing {% data variables.product.prodname_cli %}
{% data reusables.cli.cli-installation %}