From 7178436b0729e78f995f916eb3e0db4908b9a0c5 Mon Sep 17 00:00:00 2001 From: Guilherme Costa Date: Wed, 3 Nov 2021 12:00:28 +0000 Subject: [PATCH] Add git branch -M main --- 1-getting-started-lessons/2-github-basics/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/1-getting-started-lessons/2-github-basics/README.md b/1-getting-started-lessons/2-github-basics/README.md index 6ae7622d..241b4035 100644 --- a/1-getting-started-lessons/2-github-basics/README.md +++ b/1-getting-started-lessons/2-github-basics/README.md @@ -128,6 +128,7 @@ Let's say you have a folder locally with some code project and you want to start > Note, before you type the command go to your GitHub repo page to find the repository URL. You will use it in the below command. Replace `repository_name` with your GitHub URL. ```bash + git branch -M main git remote add origin https://github.com/username/repository_name.git ```