git doc: update information for some command ( not cleaned )

This commit is contained in:
2026-01-13 00:12:30 +03:30
parent 398fa38b1a
commit 0dbb061575

View File

@@ -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>
``` ```