| ... | @@ -79,9 +79,9 @@ repository is either ssh or https address of the repo. |
... | @@ -79,9 +79,9 @@ repository is either ssh or https address of the repo. |
|
|
|
|
|
|
|
## Commit
|
|
## Commit
|
|
|
|
|
|
|
|
A commit is like a checkpoint : you have modified multiple files, and you [push](#push) them to the [origin](#origin) with a commit message like "hey I've done this and that".
|
|
A commit is like a checkpoint : it is a set of modification to one or multiple files accompanied by a message summing up these modificiations. These modifications are then meant to be [pushed](#push) to the [origin](#origin).
|
|
|
|
|
|
|
|
A commit will contain the files [added](#add) to it. Any commit will be accompanied by a **commit message** that NEEDS to contain the important things that has been modified in the added files.
|
|
A commit will contain the files [added to it with `git add`](#add). Any commit will be accompanied by a **commit message** that NEEDS to contain the important things that has been modified in the added files.
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
git commit
|
|
git commit
|
| ... | | ... | |