aboutsummaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
authoromagdy <omar.professional8777@gmail.com>2025-08-05 07:31:43 +0300
committeromagdy <omar.professional8777@gmail.com>2025-08-05 07:31:43 +0300
commitddc61439a01d8f93716b5bcea0f3df7f2457c445 (patch)
tree0abf9e86c91e67876f04d024ae50995636cbd9ae /git
parent45bc42047321f6e51f32adb24ec5fc95333c6380 (diff)
downloaddotfiles-ddc61439a01d8f93716b5bcea0f3df7f2457c445.tar.xz
dotfiles-ddc61439a01d8f93716b5bcea0f3df7f2457c445.zip
git: Added gitconfig to dotfiles
Diffstat (limited to 'git')
-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