mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-11-21 19:18:02 +00:00
Merge pull request 'Add explanation to add-command' (#5) from Troximus/dev-tools:add into main
Reviewed-on: https://codeberg.org/mo8it/dev-tools/pulls/5
This commit is contained in:
commit
de54e05321
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