Skip to content
Snippets Groups Projects
Commit 3bd908e6 authored by Clement  SERRE's avatar Clement SERRE
Browse files

Q1.9

parent b28292b7
Branches
No related tags found
No related merge requests found
......@@ -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 `*`
......
start 0 → 100644
18:35 08/01/2018
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment