Skip to content

Commit

Permalink
Clarify which repository to be forked (#26824)
Browse files Browse the repository at this point in the history
  • Loading branch information
mekbibisdone authored Nov 27, 2023
1 parent c573e0d commit 1fa6b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/intermediate_git/using_git_in_the_real_world.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The key players in this story will be the `upstream` (the original GitHub reposi
#### Initial setup

1. Read [the contributing guide](https://github.com/TheOdinProject/.github/blob/main/CONTRIBUTING.md) for the project.
2. Fork the original ("upstream") repository into your own GitHub account by using the "fork" button at the top of that repo's page on GitHub.
2. Navigate to the curriculum repository and fork the original ("upstream") repository into your own GitHub account by using the "fork" button at the top of that repo's page on GitHub.
3. Clone your forked repository onto your local machine using something like `git clone [email protected]:your_user_name_here/curriculum.git` (you can get the url from the little widget on the sidebar on the right of that repo's page on GitHub).
4. Because you cloned the repository, you've already got a remote that points to `origin`, which is your fork on GitHub. You will use this to push changes back up to GitHub. You'll also want to be able to pull directly from the original repository on GitHub, which we'll call `upstream`, by setting it up as another remote. Do this by using `git remote add upstream [email protected]:TheOdinProject/curriculum.git` inside the project folder `curriculum`.

Expand Down

0 comments on commit 1fa6b06

Please sign in to comment.