aboutsummaryrefslogtreecommitdiff
path: root/git/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to 'git/.gitconfig')
-rw-r--r--git/.gitconfig49
1 files changed, 49 insertions, 0 deletions
diff --git a/git/.gitconfig b/git/.gitconfig
new file mode 100644
index 0000000..4f9d0cf
--- /dev/null
+++ b/git/.gitconfig
@@ -0,0 +1,49 @@
+[core]
+ pager = delta
+
+[interactive]
+ diffFilter = delta --color-only
+
+[delta]
+ navigate = true # use n and N to move between diff sections
+ dark = true # or light = true, or omit for auto-detection
+
+[alias]
+ st = status -s
+ lol = log --oneline --graph --all
+
+[merge]
+ conflictstyle = zdiff3
+
+[http]
+ version = HTTP/1.1
+ postBuffer = 524288000
+
+[user]
+ email = omar.professional8777@gmail.com
+ name = omagdy
+
+[diff]
+ tool = nvimdiff
+
+[difftool]
+ prompt = false
+
+[column]
+ ui = auto
+
+[branch]
+ sort = -committerdate
+
+[tag]
+ sort = version:refname
+
+[init]
+ defaultBranch = main
+
+[diff]
+ algorithm = histogram
+ colorMoved = plain
+
+[push]
+ autoSetupRemote = true