From 1af569bd27849e60d0e04e16a294a2a20f831ca4 Mon Sep 17 00:00:00 2001 From: Orestis <orestis.malaspinas@pm.me> Date: Tue, 9 Nov 2021 09:26:48 +0100 Subject: [PATCH] corrected footnote, and makefile --- Makefile | 7 +------ git_tutorial.md | 6 +++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 1299f19..aca022d 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ BEAMEROPTIONS += -H ./header.tex --listings BLA = $(shell git log | head -n 1) -all: git_tutorial.pdf git_tutorial_gitignore.pdf +all: git_tutorial.pdf git_tutorial.pdf: git_tutorial.md echo $(BLA) @@ -17,11 +17,6 @@ git_tutorial.pdf: git_tutorial.md pandoc -s $(BEAMEROPTIONS) -o $@ $< -git_tutorial_gitignore.pdf: git_tutorial_gitignore.md - echo $(BLA) - sed -i '3s/.*/% $(BLA)/' $< - pandoc -s $(BEAMEROPTIONS) -o $@ $< - deploy: all mkdir -p git_tuto cp *.pdf git_tuto diff --git a/git_tutorial.md b/git_tutorial.md index 020eba4..7d1a9a7 100644 --- a/git_tutorial.md +++ b/git_tutorial.md @@ -1,6 +1,6 @@ % Introduction à Git % Orestis Malaspinas -% commit e5c2d675e68c4df94a9d3b0df48f8feb5ec9c1ab +% commit 1d8bcf97fe56b4298ad7e71c4234fa2c77255a11 # Des références @@ -468,7 +468,7 @@ On ignore typiquement: * L'ajouter au répo git et le "commit". * Y ajouter les règles à suivre pour ignorer les fichiers. -Exemple: [^1] +Exemple: [^2] ```bash biden # ignore le fichier biden @@ -478,7 +478,7 @@ sanders # ignore le répertoire sanders **/sanders # ignore tous les répertoires sanders ``` -[^1]: Pour une liste plus exhaustive voir le site <https://bit.ly/2HTZJyQ> par exemple. +[^2]: Pour une liste plus exhaustive voir le site <https://bit.ly/2HTZJyQ> par exemple. ## Bibliographie -- GitLab