From 912bf7522140249d6d6a15b8f0364d021676c079 Mon Sep 17 00:00:00 2001
From: Christophe Garion <tofgarion@runbox.com>
Date: Wed, 25 Oct 2023 20:26:01 +0200
Subject: [PATCH] [listings] add keywords for Git

---
 my-listings.sty | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/my-listings.sty b/my-listings.sty
index c0131bf..58156e5 100644
--- a/my-listings.sty
+++ b/my-listings.sty
@@ -40,6 +40,12 @@
                 mkdir,switch,merge,copy}
 }
 
+\lstdefinelanguage{git}{
+  morekeywords={git,checkout,status, commit,
+    add,diff,log,reset,clone,restore,
+    push,pull,origin}
+}
+
 \lstdefinelanguage{fh}{
   morekeywords={if,then,else,fi,while,do,od,;,:=}
 }
-- 
GitLab