Update github-cli-tutorial.md with better grammar (#62297)

This commit is contained in:
CodeMaster7000 2023-05-13 23:43:13 +01:00 committed by GitHub
parent 9e257dc83d
commit 56af70bee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,17 +9,17 @@
| <img alt="GitHub Desktop" src="https://cdn.icon-icons.com/icons2/2157/PNG/512/github_git_hub_logo_icon_132878.png" width="200"> | GitHub Command Line Interface (CLI) |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------|
This is a guide for us the terminal nerds who wants to do everything in the terminal, and thanks to the [Github-CLI](https://cli.github.com/) we can achieve it, remember your first contribution should be fun, rewarding and a motivator just to keep going!
This is a guide for us, the terminal nerds, who want to do everything in the terminal; and thanks to the [Github-CLI](https://cli.github.com/) we can achieve it! Remember, your first contribution should be fun, rewarding and a motivator just to keep going!
This guide is a bit more challenging since we are not using any graphical interface at all, but still it's really fun and you can totally follow it!
This guide is a bit more challenging since we are not using any graphical interface at all, but it's still really fun and you can definitely follow it!
The first requisite is to have:
- Git installed (how to install [git](https://git-scm.com/downloads))
- Github account
Now we need to install the github-cli tool in our system by following the [official documentation](https://github.com/cli/cli#installation)
Now we need to install the github-cli tool in our system by following the [official documentation](https://github.com/cli/cli#installation).
After that, we need to login in the CLI so enter this command:
After that, we need to login in the CLI, so enter this command:
```bash
gh auth login
```
@ -35,13 +35,13 @@ gh repo fork firstcontributions/first-contributions
**Important: It will prompt you if you want to clone it as well, select the "yes" option**
# Create your branch
We will do this step with git, so we enter this command replacing the name with your name, for example:
We will do this step with git, so enter this command replacing the name with your name, for example:
```bash
git switch -c add-john-doe
```
# Make necessary changes and commit those changes
Now you can open `Contributors.md` file in a text editor, add your name to it. Put your name anywhere between the beginning and the end, now save the file.
Now you can open `Contributors.md` file in a text editor and add your name to it. Put your name anywhere between the beginning and the end, then save the file.
In the project directory execute `git status` and you will see the changes.
![image-git](https://camo.githubusercontent.com/a35c4722d7aab337eefc655d1488f7b4dc038508e6adaf5e88e2e052a976f010/68747470733a2f2f6669727374636f6e747269627574696f6e732e6769746875622e696f2f6173736574732f526561646d652f6769742d7374617475732e706e67)