summaryrefslogtreecommitdiff
path: root/home/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to 'home/.gitconfig')
-rw-r--r--home/.gitconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/home/.gitconfig b/home/.gitconfig
new file mode 100644
index 0000000..21b66c7
--- /dev/null
+++ b/home/.gitconfig
@@ -0,0 +1,20 @@
+[user]
+ email = nettingman@gmail.com
+ name = Botond Hende
+[init]
+ defaultBranch = master
+[core]
+ editor = nvim
+[alias]
+ com = commit
+ a = add -Av
+ st = status
+ diffc = diff --cached
+ squash-all = "!f(){ git reset $(git commit-tree HEAD^{tree} -m \"${1:-A new start}\");};f"
+[push]
+ autoSetupRemote = true
+[filter "lfs"]
+ clean = git-lfs clean -- %f
+ smudge = git-lfs smudge -- %f
+ process = git-lfs filter-process
+ required = true