mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-12-04 07:40:31 +00:00
Add explanation to add-command
This commit is contained in:
parent
3372213507
commit
dcc8099b11
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:
|
||||||
|
|
||||||
|
~~
|
||||||
|
git add "example.txt"
|
||||||
|
~~
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
~~
|
||||||
|
git add --all
|
||||||
|
~~
|
||||||
|
|
||||||
|
if you want to stage all changes.
|
||||||
|
|
||||||
## git commit
|
## git commit
|
||||||
|
|
||||||
## git log
|
## git log
|
||||||
|
|
Loading…
Reference in a new issue