From 97a799c00e31d028f83743419ee9be7f10e41d5a Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Thu, 12 Oct 2023 14:16:30 +0200 Subject: Add git --- public/git/.git_template/hooks/post-commit | 5 +++++ public/git/.gitconfig | 24 ++++++++++++++++++++++++ public/git/.gitignore_global | 5 +++++ 3 files changed, 34 insertions(+) create mode 100755 public/git/.git_template/hooks/post-commit create mode 100644 public/git/.gitconfig create mode 100644 public/git/.gitignore_global (limited to 'public') diff --git a/public/git/.git_template/hooks/post-commit b/public/git/.git_template/hooks/post-commit new file mode 100755 index 0000000..82f44ec --- /dev/null +++ b/public/git/.git_template/hooks/post-commit @@ -0,0 +1,5 @@ +#!/bin/sh + +### lolcommits hook (begin) ### +LANG="" && PATH="$PATH:/usr/bin:/usr/local/bin" && if [ ! -d "$GIT_DIR/rebase-merge" ] && [ "$LOLCOMMITS_CAPTURE_DISABLED" != "true" ]; then lolcommits --capture --device 'Logitech StreamCam' --fork; fi +### lolcommits hook (end) ### diff --git a/public/git/.gitconfig b/public/git/.gitconfig new file mode 100644 index 0000000..64e9fd3 --- /dev/null +++ b/public/git/.gitconfig @@ -0,0 +1,24 @@ +[filter "lfs"] + clean = git-lfs clean -- %f + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true +[user] + name = Christian Segundo + email = christian.segundo@cabify.com + signingkey = 0x8B6B1A3CF906CCEC +[commit] + gpgsign = 1 +[core] + excludesfile = ~/.gitignore_global + ;fsmonitor = true + ;untrackedcache = true +[pull] + rebase = false +[push] + autoSetupRemote = true +[init] + templatedir = ~/.git_template + defaultBranch = master +[include] + path = ~/.gitconfig_cabify diff --git a/public/git/.gitignore_global b/public/git/.gitignore_global new file mode 100644 index 0000000..a66ce3d --- /dev/null +++ b/public/git/.gitignore_global @@ -0,0 +1,5 @@ +.DS_Store +.vscode +zig-cache +zig-out +venv -- cgit v1.2.3