1
0
Fork 0
mirror of https://codeberg.org/Mo8it/How_To_Linux.git synced 2024-11-25 08:21:34 +00:00

added git checkout

This commit is contained in:
Steven 2023-08-17 11:23:45 +02:00
parent ba80482b59
commit 9d7ac6647c

View file

@ -38,6 +38,22 @@ if you want to stage all changes.
## git checkout ## git checkout
This command enables you to switch to another branch or to a previous commit.
Examples are:
```bash
git checkout "branchname"
```
or
```bash
git checkout -b "branchname"
```
If you want to create a new branch and switch to it.
## git push ## git push
## git pull ## git pull