git doc: update information for some command ( not cleaned )
This commit is contained in:
@@ -204,23 +204,23 @@ git revert HEAD
|
|||||||
```bash
|
```bash
|
||||||
git revert <commit-id>
|
git revert <commit-id>
|
||||||
```
|
```
|
||||||
|
show all branches
|
||||||
```bash
|
```bash
|
||||||
git branch
|
git branch
|
||||||
```
|
```
|
||||||
|
show all branches but with datails
|
||||||
```bash
|
```bash
|
||||||
git branch -v
|
git branch -v
|
||||||
```
|
```
|
||||||
|
delete target branch
|
||||||
```bash
|
```bash
|
||||||
git branch -d <branch-name>
|
git branch -d <branch-name>
|
||||||
```
|
```
|
||||||
|
swith on target branch
|
||||||
```bash
|
```bash
|
||||||
git checkout <branch-name>
|
git checkout <branch-name>
|
||||||
```
|
```
|
||||||
|
create branch and switch on it
|
||||||
```bash
|
```bash
|
||||||
git checkout -b <branch-name>
|
git checkout -b <branch-name>
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user