Skip to content

Commit ea3463f

Browse files
committed
[squash]Modify setup notes
1 parent b96d794 commit ea3463f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

learners/setup.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,23 @@ $ git add shipping-forecast.md
4040
$ git commit -m "Add a file for the shipping forecast"
4141
```
4242

43+
<!-- Add link to previous lesson -->
44+
4345
Create a public remote `weather` repository on GitHub and
4446
push your local repository to the remote:
4547

4648
```bash
47-
$ git remote add origin [email protected]:mo-eormerod/weather.git
49+
$ git remote add origin [email protected]:<your username>/weather.git
4850
$ git push
4951
```
52+
53+
The first time you push to a remote repository you will get this message:
54+
55+
```bash
56+
fatal: The current branch master has no upstream branch.
57+
To push the current branch and set the remote as upstream, use
58+
59+
git push --set-upstream main
60+
```
61+
62+
You can copy and paste the suggested command.

0 commit comments

Comments
 (0)