Skip to content

Commit ae682ae

Browse files
authored
Update README.md
1 parent 9466e17 commit ae682ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

en/deploy/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ It's a good idea to use a `git status` command before `git add` or whenever you
8484
{% filename %}command-line{% endfilename %}
8585
```
8686
$ git status
87-
On branch master
87+
On branch main
8888
8989
No commits yet
9090
@@ -130,12 +130,12 @@ On the next screen, you'll be shown your repo's clone URL, which you will use in
130130

131131
Now we need to hook up the Git repository on your computer to the one up on GitHub.
132132

133-
Type the following into your console (replace `<your-github-username>` with the username you entered when you created your GitHub account, but without the angle-brackets -- the URL should match the clone URL you just saw):
133+
Type the following into your console (replace `<your-github-username>` with the username you entered when you created your GitHub account, but without the angle-brackets -- the URL should match the clone URL you just saw). Note that your choice of "main" or "master" in the Installation chapter will determine the final word in the second command.
134134

135135
{% filename %}command-line{% endfilename %}
136136
```
137137
$ git remote add origin https://github.com/<your-github-username>/my-first-blog.git
138-
$ git push -u origin master
138+
$ git push -u origin main
139139
```
140140

141141
When you push to GitHub, you'll be asked for your GitHub username and password (either right there in the command-line window or in a pop-up window), and after entering credentials you should see something like this:
@@ -146,8 +146,8 @@ Counting objects: 6, done.
146146
Writing objects: 100% (6/6), 200 bytes | 0 bytes/s, done.
147147
Total 3 (delta 0), reused 0 (delta 0)
148148
To https://github.com/ola/my-first-blog.git
149-
* [new branch] master -> master
150-
Branch master set up to track remote branch master from origin.
149+
* [new branch] main -> main
150+
Branch main set up to track remote branch main from origin.
151151
```
152152

153153
<!--TODO: maybe do ssh keys installs in install party, and point ppl who dont have it to an extension -->

0 commit comments

Comments
 (0)