diff --git a/gitclone.txt b/gitclone.txt index e51ee5d782db115d22981d95a0e2d455e5e78fbc..43737d840ce9cd7e908521181e3c886e21959ee4 100644 --- a/gitclone.txt +++ b/gitclone.txt @@ -1,6 +1,5 @@ -Cloning into test... -remote: Counting objects: 54, done. -remote: Compressing objects: 100% (54/54), done. -remote: Total 54 (delta 20), reused 0 (delta 0) -Receiving objects: 100% (54/54), 11.25 KiB, done. -Resolving deltas: 100% (20/20), done. +Clonage dans 'test'... +remote: Enumerating objects: 3, done. +remote: Counting objects: 100% (3/3), done. +remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0) +Réception d'objets: 100% (3/3), fait. diff --git a/gitcommit.txt b/gitcommit.txt index 48a712a6b47c7c40fe72e45bb4b59b4897f0f9c4..08430d52f6a79d4767f7f421e6f74742b5f8c945 100644 --- a/gitcommit.txt +++ b/gitcommit.txt @@ -1,2 +1,3 @@ -[master 7b01f01] New feature described - 1 files changed, 1 insertions(+), 1 deletions(-) +[master bc601eb] Ajoute de la documentation + 1 file changed, 1 insertion(+) + create mode 100644 README.md diff --git a/gitdiff.txt b/gitdiff.txt index f33b3941569728e8d089b722f06d37e7c93f5004..f6c1ccbc41e2cc1a7a964e6a25c06bff1ce563ef 100644 --- a/gitdiff.txt +++ b/gitdiff.txt @@ -1,18 +1,10 @@ -diff --git a/phil/inter.c b/phil/inter.c -index 2e1e492..2aa37fc 100644 ---- a/phil/inter.c -+++ b/phil/inter.c -@@ -42,8 +42,8 @@ void inter_init(Interprete *t) - int inter_generer(int maxniveau, Grammaire *g, Interprete *t) - { - char *ch, *buffer; -- int nb; /* nb < Num */ -- int j; /* j < taille_max_regle */ -+ int nb; /* nb < Num */ -+ int j; /* j<taille_max_regle */ - int k; - int tailleBuffer, tailleMaxBuffer, lch; /* longueur de ch,ch0,Rule[i] */ - int max; -@@ -59,56 +59,48 @@ int inter_generer(int maxniveau, Grammaire *g, Interprete *t) - ch = tools_nouvelle_chaine(lch); - strcpy(ch, g->axiome); +diff --git a/README.md b/README.md +index 7665d40..875b8e8 100644 +--- a/README.md ++++ b/README.md +@@ -1,2 +1,2 @@ +-Mettre l'intro ici... +-À compléter donc... +\ No newline at end of file ++Ce projet a pour but de fournir un exemple de base pour le cours git. ++Les fichiers de ce cours sont utilisé dans le support de cours. diff --git a/gitinit.txt b/gitinit.txt index df981fd0c03cd071b938dc23691f9800becbaf27..621530bc0dab5922eeadfb80a00f13823894359d 100644 --- a/gitinit.txt +++ b/gitinit.txt @@ -1 +1 @@ -Initialized empty Git repository in /home/phil/tmp/.git/ +Dépôt Git vide initialisé dans /home/phil/tmp/coursgit/.git/ diff --git a/gitlog.txt b/gitlog.txt index bdff1ed2ca4f825fb4f772fa43fa868458b35ff9..9dfd661eb336db984112af4dad5c70117167bd35 100644 --- a/gitlog.txt +++ b/gitlog.txt @@ -1,13 +1,13 @@ -commit 7b01f019730696862c434a81c3e3d8ac9014b183 +commit 836030337c045792940122cde129634d811fa072 (HEAD -> master) Author: Philippe Dosch <Philippe.Dosch@loria.fr> -Date: Wed Feb 8 21:55:38 2012 +0100 +Date: Mon Mar 24 10:13:49 2025 +0100 - New feature described + Finalise la classe MainTest -commit 087aee7891fb79f7d5bf527e8ace994ad89a03d2 +commit 256ff34a7225da4caa6a82416c5b2c42214acc61 Author: Philippe Dosch <Philippe.Dosch@loria.fr> -Date: Wed Feb 8 21:53:55 2012 +0100 +Date: Mon Mar 24 09:41:51 2025 +0100 - Bug #7767 fixed + Résout le bug #7767 ... diff --git a/gitshow.txt b/gitshow.txt index 7542e76dd16add4cec1270b0b7377c99a8d76ec2..970ea269a3836e13097d9c39415b5c7986aad3fa 100644 --- a/gitshow.txt +++ b/gitshow.txt @@ -1,13 +1,17 @@ -commit 7b01f019730696862c434a81c3e3d8ac9014b183 +commit 836030337c045792940122cde129634d811fa072 (HEAD -> master) Author: Philippe Dosch <Philippe.Dosch@loria.fr> -Date: Wed Feb 8 21:55:38 2012 +0100 +Date: Mon Mar 24 10:13:49 2025 +0100 - New feature described + Présentation générale + +diff --git a/README.md b/README.md +index 7665d40..875b8e8 100644 +--- a/README.md ++++ b/README.md +@@ -1,2 +1,2 @@ +-Mettre l'intro ici... +-À compléter donc... +\ No newline at end of file ++Ce projet a pour but de fournir un exemple de base pour le cours git. ++Les fichiers de ce cours sont utilisé dans le support de cours. -diff --git a/README b/README -index 3942e23..6ab0c5e 100644 ---- a/README -+++ b/README -@@ -1,2 +1,3 @@ - These styles are used for courses support at university. -+Support of git diff --git a/gitstatus.txt b/gitstatus.txt index c920e24213faf528e4cd17552cc127bca1b8c064..b59608a4fa2afa246d20a82138f56802cfa73dda 100644 --- a/gitstatus.txt +++ b/gitstatus.txt @@ -1,13 +1,11 @@ -# On branch master -# -# Changes not staged for commit: -# (use "git add <file>..." to update what will be committed) -# (use "git checkout -- <file>..." to discard changes in working dir) -# -# modified: README -# -# Untracked files: -# (use "git add <file>..." to include in what will be committed) -# -# README~ -no changes added to commit (use "git add" and/or "git commit -a") +Sur la branche master +Modifications qui ne seront pas validées : + (utilisez "git add <fichier>..." pour mettre à jour ce qui sera validé) + (utilisez "git restore <fichier>..." pour annuler les modifications dans le répertoire de travail) + modifié : README.md + +Fichiers non suivis: + (utilisez "git add <fichier>..." pour inclure dans ce qui sera validé) + README.md~ + +aucune modification n'a été ajoutée à la validation (utilisez "git add" ou "git commit -a") diff --git a/maincommands.tex b/maincommands.tex index 255b24bffac0e3de53d38e953329914703affcb0..26140f5466e7563167f9e0b5cb2d605dd04f059d 100644 --- a/maincommands.tex +++ b/maincommands.tex @@ -131,7 +131,8 @@ modifications \item On peut aussi faire des ajouts plus fins à l'intérieur d'un - fichier (les \emph{chunks}) \emph{via} \ex{git add -p} + fichier\\ + (les \emph{chunks}) \emph{via} \ex{git add -p} \end{itemize} } @@ -158,7 +159,7 @@ \end{itemize} \begin{codebox} \mygitplus{git add README.md}\\ - \mygit{git commit -m "Adds documentation"}{gitcommit.txt} + \mygit{git commit -m "Ajoute de la documentation"}{gitcommit.txt} \end{codebox} } @@ -222,12 +223,11 @@ Exemples \begin{itemize} \item - Remplace les conditionnelles imbriquées en switch pour - améliorer la lisibilité (\textit{exemple de - \textit{refactoring}}) + \ex{Remplace les conditionnelles imbriquées en switch}\\ + (\textit{exemple de \textit{refactoring}}) \item - Supprime la fonctionnalité DDFD\_08 entravant la stabilité - du code (\textit{exemple d'ajout de fonctionnalité}) + \ex{Implémente la fonctionnalité DDFD\_08}\\ + (\textit{exemple d'ajout de fonctionnalité}) \end{itemize} \item Un bon site pour rédiger ses \emph{logs} de façon normalisée\\ @@ -337,8 +337,7 @@ \framesubtitle{\gitinter} \begin{itemize} \item - Affiche des informations sur l'état du répertoire de travail et de - l'index + Affiche l'état du répertoire de travail et de l'index \item Permet d'avoir des informations \begin{itemize} @@ -361,6 +360,8 @@ et donc que le répertoire de travail est identique au dernier \emph{commit} réalisé \end{itemize} + \item + \ex{git status -s} permet d'avoir une version synthétique \end{itemize} } @@ -369,7 +370,7 @@ \frame{\frametitle{\ex{git status}} \framesubtitle{\gitinter} \begin{codebox} - \mygit{git status}{gitstatus.txt} + \mygitti{git status}{gitstatus.txt} \end{codebox} } @@ -399,7 +400,7 @@ \frame{\frametitle{\ex{git diff}} \framesubtitle{\gitinter} \begin{codebox} - \mygitti{git diff}{gitdiff.txt} + \mygitti{git diff 256ff34 8360303}{gitdiff.txt} \end{codebox} }