From 7e0640694cb268f2f6b93883178cbbd032b3e7cb Mon Sep 17 00:00:00 2001 From: Vitor Date: Thu, 24 Jun 2021 16:08:45 +0100 Subject: [PATCH] Add a note in step 11 of github basics doc --- 1-getting-started-lessons/2-github-basics/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/1-getting-started-lessons/2-github-basics/README.md b/1-getting-started-lessons/2-github-basics/README.md index 9f7645ac..d07f7bd9 100644 --- a/1-getting-started-lessons/2-github-basics/README.md +++ b/1-getting-started-lessons/2-github-basics/README.md @@ -149,6 +149,8 @@ Let's say you have a folder locally with some code project and you want to start git push ``` + > Note, the command `git push` will work only if you put `-u` in the last step. + > Tip, You might also want to adopt a `.gitignore` file to prevent files you don't want to track from showing up on GitHub - like that notes file you store in the same folder but has no place on a public repository. You can find templates for `.gitignore` files at [.gitignore templates](https://github.com/github/gitignore). #### Commit messages