diff --git a/cdpw_tp1_SERRE_PRUNIER.md b/cdpw_tp1_SERRE_PRUNIER.md index 98857bba4700f3c4e3808b5ff4fb5d76f1e35002..95c9332c1b26206da19cb28ad05711911b6b8d25 100644 --- a/cdpw_tp1_SERRE_PRUNIER.md +++ b/cdpw_tp1_SERRE_PRUNIER.md @@ -62,7 +62,24 @@ https://gitlab.isima.fr/mazenovi/2017-F2-Forge 0. Il ne devrait y avoir que deux entrées dans l'historique pourquoi ? `*` Car le `--amend` a remplacé le dernier `commit` par le `commit` en train d'être fait. + ```git + clserre1@A210PC12:/h/Documents/cdpw $ git add . + clserre1@A210PC12:/h/Documents/cdpw $ git commit -m"Q1.8" + [master b28292b] Q1.8 + 1 file changed, 113 insertions(+) + create mode 100644 cdpw_tp1_SERRE_PRUNIER.md + ``` 0. Créer un nouveau fichier, nommé start, contenant la date et l'heure actuelle `*` + ```git + clserre1@A210PC12:/h/Documents/cdpw $ echo "18:35 08/01/2018" > start + clserre1@A210PC12:/h/Documents/cdpw $ git add . + warning: LF will be replaced by CRLF in start. + The file will have its original line endings in your working directory. + clserre1@A210PC12:/h/Documents/cdpw $ git commit -m"Q1.9" + [master a49be37] Q1.9 + 2 files changed, 10 insertions(+) + create mode 100644 start + ``` 0. Créer un nouveau fichier : file2ignore 0. Afficher la status de votre copie de travail 0. On souhaite que ce fichier soit ignoré et ne soit jamais commiter. Réalisez la configuration nécesaire pour que cette regle soit effective `*` diff --git a/start b/start new file mode 100644 index 0000000000000000000000000000000000000000..92105ae255303b9e7d15f504e9b31ba0471956b0 --- /dev/null +++ b/start @@ -0,0 +1 @@ +18:35 08/01/2018