aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2025-02-25 22:22:53 -0600
committerChristian Cleberg <hello@cleberg.net>2025-02-25 22:22:53 -0600
commit79b0c1739c447338de69ffb2c5777715735b8177 (patch)
treed8192bdacb3e125e17da9332206e60092dd7171e
parent35688bd68b43645980f831c473d4f4762e193a64 (diff)
downloadcleberg.net-79b0c1739c447338de69ffb2c5777715735b8177.tar.gz
cleberg.net-79b0c1739c447338de69ffb2c5777715735b8177.tar.bz2
cleberg.net-79b0c1739c447338de69ffb2c5777715735b8177.zip
add .gitconfig
-rw-r--r--.gitconfig50
1 files changed, 50 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
new file mode 100644
index 0000000..33cbe48
--- /dev/null
+++ b/.gitconfig
@@ -0,0 +1,50 @@
+# clearly makes git better
+
+[column]
+ ui = auto
+[branch]
+ sort = -committerdate
+[tag]
+ sort = version:refname
+[init]
+ defaultBranch = main
+[diff]
+ algorithm = histogram
+ colorMoved = plain
+ mnemonicPrefix = true
+ renames = true
+[push]
+ default = simple
+ autoSetupRemote = true
+ followTags = true
+[fetch]
+ prune = true
+ pruneTags = true
+ all = true
+
+# why the hell not?
+
+[help]
+ autocorrect = prompt
+[commit]
+ verbose = true
+[rerere]
+ enabled = true
+ autoupdate = true
+[core]
+ excludesfile = ~/.gitignore
+[rebase]
+ autoSquash = true
+ autoStash = true
+ updateRefs = true
+
+# a matter of taste (uncomment if you dare)
+
+[core]
+ # fsmonitor = true
+ # untrackedCache = true
+[merge]
+ # (just 'diff3' if git version < 2.3)
+ # conflictstyle = zdiff3
+[pull]
+ # rebase = true