Compare commits

..

No commits in common. "a2c2ea192057e602a1438ea675257f2e505b65f8" and "6e67b31e0ab5c2283bb6660046854b1821f189e3" have entirely different histories.

5 changed files with 26 additions and 91 deletions

View file

@ -2,21 +2,11 @@
FILE="$(realpath "${BASH_SOURCE[0]}")" FILE="$(realpath "${BASH_SOURCE[0]}")"
ROOT="$(dirname "${FILE}")" ROOT="$(dirname "${FILE}")"
INPUT="${ROOT}/in"
INPUTS="${ROOT}/in.txt"
OUTPUT="${ROOT}/out" OUTPUT="${ROOT}/out"
function main {
local file
local files=()
rm --force --recursive "${OUTPUT}" rm --force --recursive "${OUTPUT}"
mkdir --parents "${OUTPUT}" mkdir --parents "${OUTPUT}"
for file in $(cat "${INPUTS}") ; do
files+=("${INPUT}/${file}.md")
done
pandoc \ pandoc \
--verbose \ --verbose \
--standalone \ --standalone \
@ -30,9 +20,4 @@ pandoc \
--write 'revealjs' \ --write 'revealjs' \
--variable revealjs-url='/sw/revealjs/up' \ --variable revealjs-url='/sw/revealjs/up' \
--variable slideNumber \ --variable slideNumber \
\ "${ROOT}/index.md"
"${files[@]}"
}
main

3
in.txt
View file

@ -1,3 +0,0 @@
info
plan
index

View file

@ -1,7 +0,0 @@
---
author: Marc Beninca
date: 2024 / 03
lang: fr-FR
title: Git CCC
subtitle: Concepts, Commandes, Composants
---

View file

@ -1,21 +0,0 @@
# Plan {-}
::: {.columns}
::: {.column width="33%"}
* Concepts
* Outils
* Concepts
:::
::: {.column width="33%"}
* Commandes
* Bases
* Local
* Collaborer
:::
::: {.column width="33%"}
* Composants
* Basique
* Pointeurs
* Objets
:::
:::

View file

@ -1,72 +1,60 @@
# Concepts ---
author: Marc Beninca
date: 2024 / 03
lang: fr-FR
title: Git PPP
subtitle: Possibilités, Porcelaine & Plomberie
---
1. Outils # Possibilités
1. Concepts
## Outils # Outils
### Hachage ## Hachage
::: incremental ::: incremental
* SHA-1 * SHA-1
* SHA-256 * SHA-256
::: :::
::: notes ## Pointeurs
* versions ≥ 2.42 rétro-compatibles
:::
### DAG / GAO
::: incremental
* Graphe
* Acyclique
* Orienté
:::
### Pointeurs
* branches * branches
* étiquettes * étiquettes
# {-} # Concepts
## Concepts
### Zones ## Zones
::: incremental ::: incremental
* répertoire de travail * répertoire de travail
* index * index
* historique * historique
* réserve
::: :::
# Commandes # Porcelaine
## 1
## 2
1. Bases # Porcelaine → Bases
1. Local
1. Collaborer
## Bases ## git init
### git init
* bare | non-bare * bare | non-bare
### git config ## git config
* system → global → local * system → global → local
* user name & email * user name & email
* description * description
### git status ## git status
* -u * -u
# {-} # Porcelaine → Local
## Local
### Commandes ## Commandes
* git branch --force * git branch --force
* git add * git add
@ -83,21 +71,16 @@
* interactive * interactive
* git reflog * git reflog
# {-} # Porcelaine → Collaborer
## Collaborer
### Commandes ## Commandes
* git remote | clone * git remote | clone
* git fetch | pull * git fetch | pull
* git push * git push
* git tag * git tag
# Composants # Plomberie
1. Basique
1. Pointeurs
1. Objets
## Basique ## Basique
@ -108,7 +91,6 @@
* description * description
::: :::
# {-}
## Pointeurs ## Pointeurs
* .git/refs/ * .git/refs/
@ -119,7 +101,6 @@
1. tags/tag 1. tags/tag
::: :::
# {-}
## Objets ## Objets
* .git/objects * .git/objects