Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
fix: links (#3783)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmelto authored Aug 28, 2024
1 parent e298917 commit 3a52535
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,21 @@ You can ask questions by raising an [issue](https://github.com/EddieHubCommunity
- Go to your profile. You will find forked repo named **_open-source-practice_**. go to the repo by clicking on it.
- Click on the green Code button, then either the HTTPS or SSH option, and, click the icon to copy the URL. Now you have a copy of the project. Thus, you can play around with it locally on your computer.

- Run the following commands into a terminal window (Command Prompt, Powershell, Terminal, Bash, ZSH). Do this to download the forked copy of this repository to your computer. ![git-clone](https://github.com/AmanxUpadhyay/open-source-practice/assets/76415079/4d600e25-83b1-4e8f-9325-f1adc4f8ce3d)
- Run the following commands into a terminal window (Command Prompt, Powershell, Terminal, Bash, ZSH). Do this to download the forked copy of this repository to your computer. ![git-clone](https://github.com/AmanxUpadhyay/hacktoberfest-practice/assets/76415079/4d600e25-83b1-4e8f-9325-f1adc4f8ce3d)

```bash
git clone https://github.com/YOUR_GITHUB_USERNAME/open-source-practice.git
git clone https://github.com/YOUR_GITHUB_USERNAME/hacktoberfest-practice.git
```

- Switch to the cloned folder. You can paste this command into the same terminal window. ![opening-vscode](https://github.com/AmanxUpadhyay/open-source-practice/assets/76415079/1a8b350d-0c96-461a-85f4-a59185aed6b6)
- Switch to the cloned folder. You can paste this command into the same terminal window. ![opening-vscode](https://github.com/AmanxUpadhyay/hacktoberfest-practice/assets/76415079/1a8b350d-0c96-461a-85f4-a59185aed6b6)

```bash
cd open-source-practice
cd hacktoberfest-practice
```

**3. Create a new branch:**

- Your username would make a good branch because it's unique. ![git-checkout](https://github.com/AmanxUpadhyay/open-source-practice/assets/76415079/68ab0380-c731-4e67-bccc-b666da5dd174)
- Your username would make a good branch because it's unique. ![git-checkout](https://github.com/AmanxUpadhyay/hacktoberfest-practice/assets/76415079/68ab0380-c731-4e67-bccc-b666da5dd174)

```bash
git checkout -b <name-of-new-branch>
Expand Down Expand Up @@ -109,7 +109,7 @@ or
```

**6. Commit the changes:**
![git-commit](https://github.com/AmanxUpadhyay/open-source-practice/assets/76415079/9a6a58f3-ed0b-4bc2-b749-48baede77835)
![git-commit](https://github.com/AmanxUpadhyay/hacktoberfest-practice/assets/76415079/9a6a58f3-ed0b-4bc2-b749-48baede77835)

```bash
git commit -m "Add <your-github-username>"
Expand All @@ -122,7 +122,7 @@ or
```

- The response should be like this:
![git-status](https://github.com/AmanxUpadhyay/open-source-practice/assets/76415079/d3692bcd-02d9-47d7-9e6c-b386b0a6c72d)
![git-status](https://github.com/AmanxUpadhyay/hacktoberfest-practice/assets/76415079/d3692bcd-02d9-47d7-9e6c-b386b0a6c72d)

```bash
On branch <name-of-your-branch>
Expand All @@ -142,19 +142,19 @@ or
git push -u origin main
```

![git-push](https://github.com/AmanxUpadhyay/open-source-practice/assets/76415079/f1cec12f-ea26-4986-a820-7881bc69f764)
![git-push](https://github.com/AmanxUpadhyay/hacktoberfest-practice/assets/76415079/f1cec12f-ea26-4986-a820-7881bc69f764)

> **Warning**: If you get an error message like the one below, you probably forgot to fork the repository before cloning it. It is best to start over and fork the project repository first.
```bash
ERROR: Permission to EddieHubCommunity/open-source-practice.git denied to <your-github-username>.
ERROR: Permission to EddieHubCommunity/hacktoberfest-practice.git denied to <your-github-username>.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and that the repository exists.
```

**8. Raise a Pull Request:**

- On the GitHub website, navigate to your forked repo - on the top of the files section, you'll notice a new section containing a `Compare & Pull Request` button! ![createpr](https://github.com/AmanxUpadhyay/open-source-practice/assets/76415079/0c971d35-5230-4f4a-923a-81a05c318887)
- On the GitHub website, navigate to your forked repo - on the top of the files section, you'll notice a new section containing a `Compare & Pull Request` button! ![createpr](https://github.com/AmanxUpadhyay/hacktoberfest-practice/assets/76415079/0c971d35-5230-4f4a-923a-81a05c318887)

- Click on that button, this will load a new page, comparing the local branch in your forked repository against the main branch in the EddieHub Hacktoberfest repository. Do not make any changes in the selected values of the branches (do so only if needed), and click the green `Create Pull Request` button. After creating the PR (Pull Request), our GitHub Actions workflow will add a welcome message to your PR.
Note: A pull request allows us to merge your changes with the original project repo.
Expand Down

0 comments on commit 3a52535

Please sign in to comment.