From 6ad53860be09267038e953777bb737e96b313137 Mon Sep 17 00:00:00 2001 From: nicolas <nfontrodona@orange.fr> Date: Sat, 11 Feb 2023 11:40:45 +0100 Subject: [PATCH] add a slide --- slides/slides.qmd | 27 ++++++++++++++++++++++++++- slides/style.css | 2 ++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/slides/slides.qmd b/slides/slides.qmd index f8f8168..3b24053 100644 --- a/slides/slides.qmd +++ b/slides/slides.qmd @@ -337,4 +337,29 @@ OPTIONS: -h, --help Print help information -l, --last <N> consider last N archives [default: 0] ``` -<b> \ No newline at end of file +<p><p> + + +## Git Borg Linker - checkout + +To go back to an old version of the `results` folder you can do a `gblk checkout` after a ` git checkout`. This will *revert your `result` folder* to the way it was at that commit. + + +::: {.callout-warning icon=true} + +Doing a checkout without hooks might be risky because any unsaved change in your `results` folder will be lost + +::: + +To *avoid losing data* without hooks use the `gblk pre-co` command before the `git checkout` command + +The workflow is the following + +```bash +# without hooks +gblk pre-co # checks if there is no new data inside the results folder +git co DESTINATION +gblk co +``` +<p><p> + diff --git a/slides/style.css b/slides/style.css index 8f044f3..161377f 100644 --- a/slides/style.css +++ b/slides/style.css @@ -74,6 +74,7 @@ background-color: rgb(214, 214, 214); color: rgb(0, 0, 0); font-family: monospace; + font-size: 0.9em; } .reveal li code { @@ -81,6 +82,7 @@ background-color: rgb(214, 214, 214); color: rgb(0, 0, 0); font-family: monospace; + font-size: 0.9em; } .reveal .callout.callout-captioned .callout-icon::before { -- GitLab