Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
git-jso
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DOSCH Philippe
git-jso
Commits
62ef1649
Commit
62ef1649
authored
7 years ago
by
Philippe Dosch
Browse files
Options
Downloads
Patches
Plain Diff
Refactoring de la légende
parent
b983a152
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitrefcard.tex
+29
-9
29 additions, 9 deletions
gitrefcard.tex
with
29 additions
and
9 deletions
gitrefcard.tex
+
29
−
9
View file @
62ef1649
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
\newcommand
{
\titresec
}
[1]
{
\textbf
{
#1
}
\\
[-3mm]
\rule
{
\textwidth
}{
0.4pt
}}
\newcommand
{
\titresec
}
[1]
{
\textbf
{
#1
}
\\
[-3mm]
\rule
{
\textwidth
}{
0.4pt
}}
\newcommand
{
\exe
}
[1]
{
\ex
{
\emph
{
#1
}}}
\newcommand
{
\exe
}
[1]
{
\ex
{
\emph
{
#1
}}}
\newcommand
{
\plus
}{$^{
+
}$}
\newcommand
{
\plus
}{$^{
+
}$}
\newcommand
{
\soustitre
}
[1]
{
\emph
{
\small
#1
}}
% On active la génération de l'index
% On active la génération de l'index
\makeindex
\makeindex
...
@@ -49,14 +50,26 @@
...
@@ -49,14 +50,26 @@
\subsection
{
Légende
}
\subsection
{
Légende
}
%======================================================================
%======================================================================
\begin{tabular}
{
p
{
1.7cm
}
l
}
{
\small
\exe
{
file
}
&
Un unique fichier
\\
\begin{tabular}
{
lr
}
\exe
{
file
\plus
}
&
Une liste de fichiers (éventuellement 1 seul)
\\
\begin{minipage}
{
0.3
\linewidth
}
\exe
{
com
}
&
Un commit
\\
\begin{tabular}
{
p
{
1.7cm
}
l
}
\exe
{
com
\plus
}
&
Une liste de commits (éventuellement 1 seul)
\\
\exe
{
file
}
&
Un unique fichier
\\
\emph
{
hunk
}
&
Portion de lignes connexes présentant des
\exe
{
com
}
&
Un commit
\\
modifications
\\
\emph
{
Yop
}
&
Yop ?
\\
\end{tabular}
\end{minipage}
&
\begin{minipage}
{
0.65
\linewidth
}
\begin{tabular}
{
p
{
1.7cm
}
l
}
\exe
{
file
\plus
}
&
Une liste de fichiers (éventuellement 1 seul)
\\
\exe
{
com
\plus
}
&
Une liste de commits (éventuellement 1 seul)
\\
\emph
{
hunk
}
&
Portion de lignes connexes présentant des
modifications
\\
\end{tabular}
\end{minipage}
\end{tabular}
\end{tabular}
}
%======================================================================
%======================================================================
\subsection
{
Résumé des commandes
}
\subsection
{
Résumé des commandes
}
...
@@ -78,10 +91,10 @@ dépôt distant)\\
...
@@ -78,10 +91,10 @@ dépôt distant)\\
\begin{tabular}
{
p
{
3.3cm
}
l
}
\begin{tabular}
{
p
{
3.3cm
}
l
}
\ex
{
git add <
\emph
{
file
\plus
}
>
}
\exindex
{
git add
}
&
Indexe les
\ex
{
git add <
\emph
{
file
\plus
}
>
}
\exindex
{
git add
}
&
Indexe les
modifications présentes dans
\ex
{
\emph
{
file
\plus
}
}
\textbf
{
au moment
}
modifications présentes dans
\ex
e
{
file
\plus
}
\textbf
{
au moment
}
où la commande est exécutée
\\
où la commande est exécutée
\\
\ex
{
git add -f <
\emph
{
file
\plus
}
>
}
\exindex
{
git add
}
&
Force
\ex
{
git add -f <
\emph
{
file
\plus
}
>
}
\exindex
{
git add
}
&
Force
l'indexation de
\ex
{
\emph
{
file
\plus
}
}
\textbf
{
même si ignoré
}
l'indexation de
\ex
e
{
file
\plus
}
\textbf
{
même si ignoré
}
normalement (
\emph
{
via
}
le
\ex
{
.gitignore
}
)
\\
normalement (
\emph
{
via
}
le
\ex
{
.gitignore
}
)
\\
\ex
{
git add -p
}
\exindex
{
git add
}
&
Indexation
\textbf
{
interactive
}
des
\ex
{
git add -p
}
\exindex
{
git add
}
&
Indexation
\textbf
{
interactive
}
des
modifications en présentant les différents
\emph
{
hunks
}
\\
modifications en présentant les différents
\emph
{
hunks
}
\\
...
@@ -96,6 +109,13 @@ enfants/parents)\\
...
@@ -96,6 +109,13 @@ enfants/parents)\\
\titresec
{
Création de commit
}
\titresec
{
Création de commit
}
%----------------------------------------------------------------------
%----------------------------------------------------------------------
\soustitre
{
Toute création de commit vide entièrement l'index
}
\\
\begin{tabular}
{
p
{
3.4cm
}
l
}
\ex
{
git commit
}
\exindex
{
git commit
}
&
Crée un commit + lance un
éditeur pour la saisie du message de log
\\
\ex
{
git commit -m <
\emph
{
msg
}
>
}
\exindex
{
git commit
}
&
Crée un commit
avec le message de log
\exe
{
msg
}
\\
\end{tabular}
%======================================================================
%======================================================================
\subsection
{
Scénarios classiques
}
\subsection
{
Scénarios classiques
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment