Version utilisée pour la formation à OCP
This commit is contained in:
7
content/outils/scm/git/commandes/bisect.tex
Normal file
7
content/outils/scm/git/commandes/bisect.tex
Normal file
@ -0,0 +1,7 @@
|
||||
\begin{frame}
|
||||
\frametitle{Commandes git}
|
||||
\framesubtitle{bisect}
|
||||
\begin{description}
|
||||
\item[\commande{git bisect start}] Démarrer une session de recherche du commit problématique par division binaire
|
||||
\end{description}
|
||||
\end{frame}
|
@ -4,7 +4,6 @@
|
||||
\begin{description}
|
||||
\item[\commande{git cherry-pick}] Appliquer les changements introduits dans un commit donné
|
||||
\end{description}
|
||||
\skbinput[from=fig]{apps/git_commande_cherry-pick}
|
||||
\begin{exampleblock}{Options à retenir}
|
||||
\begin{description}
|
||||
\item[\commande{--abort}] Interrompre le processus
|
||||
|
@ -4,7 +4,6 @@
|
||||
\begin{description}
|
||||
\item[\commande{git clean}] Supprime les fichiers non suivis du répertoire de travail
|
||||
\end{description}
|
||||
\skbinput[from=fig]{apps/git_commande_clean}
|
||||
\begin{exampleblock}{Options à retenir}
|
||||
\begin{description}
|
||||
\item[\commande{-xdf}] Combinaison pour supprimer du répertoire de travail les dossiers et fichiers non suivis
|
||||
|
@ -2,7 +2,7 @@
|
||||
\frametitle{Commandes git}
|
||||
\framesubtitle{diff}
|
||||
\begin{description}
|
||||
\item[\commande{git diff}] Afficher la différence entre deux états (entre le répertoire de travail ou l'index et la branche ou entre
|
||||
\item[\commande{git diff}] Afficher la différence entre deux états (entre le répertoire de travail ou l'index et la branche par exemple)
|
||||
\end{description}
|
||||
% contenu (pas trop long) de la diapositive
|
||||
\end{frame}
|
||||
|
13
content/outils/scm/git/commandes/filter-branch.tex
Normal file
13
content/outils/scm/git/commandes/filter-branch.tex
Normal file
@ -0,0 +1,13 @@
|
||||
\begin{frame}
|
||||
\frametitle{Commandes git}
|
||||
\framesubtitle{filter-branch}
|
||||
\begin{description}
|
||||
\item[\commande{git filter-branch}] Exécuter une commande sur un ensemble de commit
|
||||
\end{description}
|
||||
\begin{exampleblock}{Options à retenir}
|
||||
\begin{description}
|
||||
\item[\commande{--tree-filter}] Modifier le contenu de l'arborescence pour chaque version du projet
|
||||
\item[\commande{--env-filter}] Modifier la teneur des variables d'environnement pour chaque commit
|
||||
\end{description}
|
||||
\end{exampleblock}
|
||||
\end{frame}
|
14
content/outils/scm/git/commandes/grep.tex
Normal file
14
content/outils/scm/git/commandes/grep.tex
Normal file
@ -0,0 +1,14 @@
|
||||
\begin{frame}
|
||||
\frametitle{Commandes git}
|
||||
\framesubtitle{grep}
|
||||
\begin{description}
|
||||
\item[\commande{git grep}] Rechercher dans chaque fichier d'un arbre quelconque
|
||||
\end{description}
|
||||
\begin{exampleblock}{Options à retenir}
|
||||
\begin{description}
|
||||
\item[\commande{--break}] Sépare les résultats pour une meilleure lisibilité
|
||||
\item[\commande{--heading}] Donne le contexte du résultat
|
||||
\end{description}
|
||||
\end{exampleblock}
|
||||
% contenu (pas trop long) de la diapositive
|
||||
\end{frame}
|
@ -2,7 +2,14 @@
|
||||
\frametitle{Commandes git}
|
||||
\framesubtitle{log}
|
||||
\begin{description}
|
||||
\item[\commande{git log}] Afficher une liste de commits
|
||||
\item[\commande{git log}] Afficher une liste de commit
|
||||
\end{description}
|
||||
% contenu (pas trop long) de la diapositive
|
||||
\begin{exampleblock}{Options à retenir}
|
||||
\begin{description}
|
||||
\item[\commande{-L}] Retracer l'historique d'un morceau de code
|
||||
\item[\commande{<c1>..<c2>}] Lister les commit accessibles depuis c2 mais pas c1
|
||||
\item[\commande{<c1>...<2>}] Lister les commit accessibles depuis l'un ou l'autre mais pas des deux à la fois
|
||||
\item[\commande{--not Ref}] Lister les commit qui ne sont pas accessibles depuis Ref
|
||||
\end{description}
|
||||
\end{exampleblock}
|
||||
\end{frame}
|
||||
|
7
content/outils/scm/git/commandes/ls-files.tex
Normal file
7
content/outils/scm/git/commandes/ls-files.tex
Normal file
@ -0,0 +1,7 @@
|
||||
\begin{frame}
|
||||
\frametitle{Commandes git}
|
||||
\framesubtitle{ls-files}
|
||||
\begin{description}
|
||||
\item[\commande{git ls-files}] Afficher les informations sur les fichiers de l'index et du répertoire de travail.
|
||||
\end{description}
|
||||
\end{frame}
|
@ -2,9 +2,9 @@
|
||||
\frametitle{Commandes git}
|
||||
\framesubtitle{merge}
|
||||
\begin{description}
|
||||
\item[\commande{git merge}] Intégrer les commits d'une branche à une autre
|
||||
\item[\commande{git merge}] Intégrer les commit d'une branche à une autre
|
||||
\end{description}
|
||||
\skbinput[from=fig]{apps/git_commande_merge}
|
||||
%\skbinput[from=fig]{apps/git_commande_merge}
|
||||
\begin{exampleblock}{Options à retenir}
|
||||
\begin{description}
|
||||
\item[\commande{--abort}] Pour faire machine arrière lors d'un merge manuel
|
||||
|
@ -7,7 +7,7 @@
|
||||
\skbinput[from=fig]{apps/git_commande_pull}
|
||||
\begin{exampleblock}{Options à retenir}
|
||||
\begin{description}
|
||||
\item[\commande{--rebase}] Choisir la stratégie rebase pour incorporer les changements (équivalent à la succession des commandes \commande{fetch} et \commande{rebase}
|
||||
\item[\commande{--rebase}] Choisir la stratégie rebase pour incorporer les changements (équivalent à la succession des commandes \commande{fetch} et \commande{rebase})
|
||||
\end{description}
|
||||
\end{exampleblock}
|
||||
% contenu (pas trop long) de la diapositive
|
||||
|
@ -4,7 +4,7 @@
|
||||
\begin{description}
|
||||
\item[\commande{git rebase}] Rejouer les modifications après mise à jour de la branche
|
||||
\end{description}
|
||||
\skbinput[from=fig]{apps/git_commande_rebase}
|
||||
%\skbinput[from=fig]{apps/git_commande_rebase}
|
||||
\begin{exampleblock}{Options à retenir}
|
||||
\begin{description}
|
||||
\item[\commande{-i}] Réordonner les modifications manuellement
|
||||
|
@ -4,7 +4,7 @@
|
||||
\begin{description}
|
||||
\item[\commande{git reset}] Revenir à une version antérieure
|
||||
\end{description}
|
||||
\skbinput[from=fig]{apps/git_commande_reset}
|
||||
%\skbinput[from=fig]{apps/git_commande_reset}
|
||||
\begin{exampleblock}{Options à retenir}
|
||||
\begin{description}
|
||||
\item[\commande{--hard}] Écraser le contenu du répertoire de travail et de l'index
|
||||
|
@ -4,7 +4,7 @@
|
||||
\begin{description}
|
||||
\item[\commande{git revert}] Créer le commit annulant un autre commit
|
||||
\end{description}
|
||||
\skbinput[from=fig]{apps/git_commande_revert}
|
||||
%\skbinput[from=fig]{apps/git_commande_revert}
|
||||
\begin{exampleblock}{Options à retenir}
|
||||
\begin{description}
|
||||
\item[\commande{--abort}] Interrompre le traitement
|
||||
|
Reference in New Issue
Block a user