Skip to content

Commit

Permalink
Merge pull request #1011 from astroDimitrios/remove-03-branch
Browse files Browse the repository at this point in the history
Remove checkout branch main section in episode 3
  • Loading branch information
martinosorb authored Aug 10, 2024
2 parents b33dbf2 + 02b320d commit 4bc9810
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions episodes/03-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,6 @@ including the tracked files and sub-directories located within the project's dir
If we ever delete the `.git` subdirectory,
we will lose the project's history.

Next, we will change the default branch to be called `main`.
This might be the default branch depending on your settings and version
of git.
See the [setup episode](02-setup.md#default-git-branch-naming) for more information on this change.

```bash
$ git checkout -b main
```

```output
Switched to a new branch 'main'
```

We can now start using one of the most important git commands, which is particularly helpful to beginners. `git status` tells us the status of our project, and better, a list of changes in the project and options on what to do with those changes. We can use it as often as we want, whenever we want to understand what is going on.

```bash
Expand Down

0 comments on commit 4bc9810

Please sign in to comment.