Update git-memo.content.md: remove :
This commit is contained in:
parent
23702258ca
commit
bdc2889ddb
@ -37,19 +37,19 @@ git commit --amend --no-edit
|
|||||||
|
|
||||||
## Branches
|
## Branches
|
||||||
|
|
||||||
Lists all local branches in your repository (use -a for local and remote branches):
|
Lists all local branches in your repository (use -a for local and remote branches)
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git branch
|
git branch
|
||||||
```
|
```
|
||||||
|
|
||||||
Switch to an existing branch:
|
Switch to an existing branch
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git switch [branch name]
|
git switch [branch name]
|
||||||
```
|
```
|
||||||
|
|
||||||
Create a new branch:
|
Create a new branch
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git checkout -b [branch name]
|
git checkout -b [branch name]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user