mirror of
https://codeberg.org/Mo8it/How_To_Linux.git
synced 2024-12-03 17:20: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
|
||||
|
||||
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 log
|
||||
|
|
Loading…
Reference in a new issue