summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpublic/git/.git_template/hooks/post-commit5
-rw-r--r--public/git/.gitconfig24
-rw-r--r--public/git/.gitignore_global5
3 files changed, 34 insertions, 0 deletions
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