aboutsummaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
new file mode 100644
index 0000000..bea41ee
--- /dev/null
+++ b/.gitconfig
@@ -0,0 +1,22 @@
+[user]
+ name = Alec Goncharow
+ email = alec@goncharow.dev
+[core]
+ editor = nvim
+[pull]
+ rebase = true
+[init]
+ defaultBranch = main
+[diff]
+ tool = difftastic
+[difftool]
+ prompt = false
+[difftool "difftastic"]
+ cmd = difft "$LOCAL" "$REMOTE"
+[pager]
+ difftool = true
+# `git dft` is less to type than `git difftool`.
+[alias]
+ difft = difftool
+ dift = difftool
+ dft = difftool