diff --git a/content/github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line.md b/content/github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line.md index a2caca65584c..2fb8281f1859 100644 --- a/content/github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line.md +++ b/content/github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line.md @@ -26,7 +26,7 @@ versions: 3. Change the current working directory to your local project. 4. Initialize the local directory as a Git repository. ```shell - $ git init + $ git init -b main ``` 5. Add the files in your new local repository. This stages them for the first commit. ```shell @@ -63,7 +63,7 @@ versions: 3. Change the current working directory to your local project. 4. Initialize the local directory as a Git repository. ```shell - $ git init + $ git init -b main ``` 5. Add the files in your new local repository. This stages them for the first commit. ```shell @@ -100,7 +100,7 @@ versions: 3. Change the current working directory to your local project. 4. Initialize the local directory as a Git repository. ```shell - $ git init + $ git init -b main ``` 5. Add the files in your new local repository. This stages them for the first commit. ```shell