From bc1e21e647a9176b283d0e31770c3f29e8eed128 Mon Sep 17 00:00:00 2001 From: Bart Sjerps Date: Wed, 8 Jul 2026 13:01:00 +0200 Subject: [PATCH] update --- config.yml | 8 ++++++++ templates/gitconfig | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 templates/gitconfig diff --git a/config.yml b/config.yml index 82f5608..08ff41a 100644 --- a/config.yml +++ b/config.yml @@ -47,6 +47,14 @@ group: root mode: '0644' + - name: Deploy gitconfig + template: + src: templates/gitconfig + dest: /etc/gitconfig + owner: root + group: root + mode: '0644' + - name: Root password user: name: root diff --git a/templates/gitconfig b/templates/gitconfig new file mode 100644 index 0000000..cd7c8d7 --- /dev/null +++ b/templates/gitconfig @@ -0,0 +1,11 @@ +[alias] + co = checkout + ci = commit + st = status + br = branch + type = cat-file -t + dump = cat-file -p + hist = log -n 25 --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short + histall = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short + sh = !git remote -v && git br -a --color=never && git stash list && git status && git hist +