Skip to content
Snippets Groups Projects
Commit 51a5addb authored by NIDABRAHIM Youssef's avatar NIDABRAHIM Youssef
Browse files

Q1.10

parent a38f03f0
No related branches found
No related tags found
No related merge requests found
......@@ -95,17 +95,25 @@ Date: Mon Feb 12 21:02:43 2018 +0100
> On doit y avoir exactement deux entrées dans l'historique `Q1.3` et `Q1.7` et cela parcequ'on avait remplacer le commit `Q1.5` par `Q1.7` en ajoutant `--amend` à la fin de la commande `commit`
```
git add .
git commit -m "Q1.9"
$ git add *
$ git commit -m "Q1.9"
[master a38f03f] Q1.9
1 file changed, 24 insertions(+), 3 deletions(-)
```
0. Créer un nouveau fichier, nommé start, contenant la date et l'heure actuelle `*`
```
touch start
date > start
git add .
$ touch start
$ date > start
$ git add .
warning: LF will be replaced by CRLF in start.
The file will have its original line endings in your working directory.
```
> On commite cette étape Q1.10
```
git commit -m "Q1.10"
```
0. Créer un nouveau fichier : file2ignore
```
touch file2ignore
......
start 0 → 100644
lun. 12 févr. 2018 21:48:10
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment