Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/_posts/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@ $ git branch -av
Switch to my_branch, and update working directory

```shell script
$ git checkout my_branch
$ git switch my_branch
```

Create a new branch called new_branch

```shell script
$ git checkout -b new_branch
$ git switch -c new_branch
```

Delete the branch called my_branch
Expand Down