mirror of
https://github.com/Sosokker/first-contributions.git
synced 2025-12-19 05:04:07 +01:00
Update github-cli-tutorial.md with better grammar (#62297)
This commit is contained in:
parent
9e257dc83d
commit
56af70bee0
@ -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.
|
||||

|
||||
|
||||
Loading…
Reference in New Issue
Block a user