Skip to content

Commit cdd34a0

Browse files
committed
In git prep, use a single repo name all throughout
1 parent dfea88e commit cdd34a0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

resources/prep/git.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,18 +160,18 @@ Forks are public copies of the main repo, from which you can submit changes to t
160160
* Fork the public repo (click on the *Fork* button)
161161
![](../img/fork_button.png)
162162
* Note it looks the same but the web address contains your username
163-
[https://github.com/myghusername/ohw21-proj-ProjectName](https://github.com/myghusername/ohw21-proj-ProjectName)
163+
[https://github.com/myghusername/ohw22-proj-myprojectname](https://github.com/myghusername/ohw22-proj-myprojectname)
164164
* Go to your local repo and rename your `origin` to point to the fork:
165165

166166
```bash
167167
git remote rm origin
168-
git remote add origin https://github.com/myghusername/ohw21-proj-ProjectName.git
168+
git remote add origin https://github.com/myghusername/ohw22-proj-myprojectname.git
169169
```
170170

171171
* Add a new remote to talk to the main repo:
172172

173173
```bash
174-
git remote add upstream https://github.com/oceanhackweek/ohw21-proj-ProjectName.git
174+
git remote add upstream https://github.com/oceanhackweek/ohw22-proj-myprojectname.git
175175
```
176176

177177
From now on you will push to `origin`, but pull from `upstream`.

0 commit comments

Comments
 (0)