Skip to content

Commit 9bbeebf

Browse files
committed
minor updates to lesson 20
1 parent e00cafd commit 9bbeebf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lessons/lesson20.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ git add README.md .gitignore
119119
# commit your changes (a snapshot of the staging area, including anything added)
120120
git commit -m "added .gitignore and edited README.md"
121121
122-
# push changes to github
122+
# push changes to github (-u/--set-upstream is only required the first time)
123123
git push --set-upstream origin my-branch
124124
125125
# now go to GitHub and open a pull request, then merge my-branch into master
@@ -155,7 +155,7 @@ git commit -m "added README to initial commit"
155155
# (replace `myusername` with your username)
156156
git remote add origin https://github.com/myusername/my-repo.git
157157
158-
# push changes to github
158+
# push changes to github (-u/--set-upstream is only required the first time)
159159
git push -u origin master
160160
161161
# notice that you don't have to open a pull request because your remote repo is master,

0 commit comments

Comments
 (0)