Skip to content

Commit 806ac54

Browse files
authored
Merge pull request #408 from tvachkov/patch-1
Replaced "main" by "master"
2 parents 05225eb + a51f268 commit 806ac54

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/github/importing-your-projects-to-github/adding-an-existing-project-to-github-using-the-command-line.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ versions:
2626
3. Change the current working directory to your local project.
2727
4. Initialize the local directory as a Git repository.
2828
```shell
29-
$ git init
29+
$ git init -b main
3030
```
3131
5. Add the files in your new local repository. This stages them for the first commit.
3232
```shell
@@ -63,7 +63,7 @@ versions:
6363
3. Change the current working directory to your local project.
6464
4. Initialize the local directory as a Git repository.
6565
```shell
66-
$ git init
66+
$ git init -b main
6767
```
6868
5. Add the files in your new local repository. This stages them for the first commit.
6969
```shell
@@ -100,7 +100,7 @@ versions:
100100
3. Change the current working directory to your local project.
101101
4. Initialize the local directory as a Git repository.
102102
```shell
103-
$ git init
103+
$ git init -b main
104104
```
105105
5. Add the files in your new local repository. This stages them for the first commit.
106106
```shell

0 commit comments

Comments
 (0)