mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 05:51:44 +03:00
Update git-memo.content.md: remove :
This commit is contained in:
1 parent
23702258ca
commit
bdc2889ddb
1 file changed
+3
-3
@@ -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]
|
||||||
|
|||||||
Reference in new issue
Block a user