Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Picasoft
APIs
Init
Git
Commits
1c6249a1
Unverified
Commit
1c6249a1
authored
Jan 11, 2019
by
Rémy Huet
💻
Browse files
Git checkout --
parent
ec70a305
Pipeline
#33294
passed with stage
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/tex/utiliser_versions/parcourir_historique.tex
View file @
1c6249a1
...
...
@@ -127,7 +127,21 @@ $ git log --graph --decorate \Pause
\begin{beamercolorbox}
[rounded=true, shadow=true]
{
terminal
}
\begin{Verbatim}
// TODO
$
echo 'Ligne qui casse tout' | cat | cat | cat > API.txt
\Pause
$
git diff
\Pause
{
\bf
{}
diff --git a/API.txt b/API.txt
}
{
\bf
{}
index a03f78c..85468b3 100644
}
{
\bf
{}
--- a/API.txt
}
{
\bf
{}
+++ b/API.txt
}
\textcolor
{
cyan
}{
@@ -1,3 +1 @@
}
\textcolor
{
red
}{
-Je suis le premier fichier utilisé pour cette API sur git
}
\textcolor
{
red
}{
-J'ajoute une ligne à mon fichier
}
\textcolor
{
red
}{
-Encore une ligne en plus !
}
\textcolor
{
myGreen
}{
+Ligne qui casse tout
}
\Pause
$
git checkout
--
API.txt
\Pause
$
git diff
\Pause
\end{Verbatim}
\end{beamercolorbox}
\end{frame}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment