mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-11-23 15:01:34 +00:00
Merge branch 'main' of codeberg.org:mo8it/dev-tools
This commit is contained in:
commit
a208f60f38
1 changed files with 16 additions and 0 deletions
|
@ -12,6 +12,22 @@ The participants of the course will add a description to each of these Git subco
|
||||||
|
|
||||||
## git add
|
## git add
|
||||||
|
|
||||||
|
This command stages one or more files for the next commit, adding them to everything that is committed.
|
||||||
|
|
||||||
|
Examples are:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git add "example.txt"
|
||||||
|
```
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git add --all
|
||||||
|
```
|
||||||
|
|
||||||
|
if you want to stage all changes.
|
||||||
|
|
||||||
## git commit
|
## git commit
|
||||||
|
|
||||||
## git log
|
## git log
|
||||||
|
|
Loading…
Reference in a new issue