mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-20 14:56:17 -04:00
Update git-memo.content.md: remove :
This commit is contained in:
parent
23702258ca
commit
bdc2889ddb
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue