summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorYigit Sever2024-02-29 20:34:48 +0300
committerYigit Sever2024-02-29 20:35:50 +0300
commit88a154659ec8059aab850c35192cf4e228b87b26 (patch)
treeb5783e880da3c345b42a400b90781e9fec789c0f /.config
parent404233d15c38fa47bac10e02f54aed4ccc9b9f5e (diff)
downloaddotfiles-88a154659ec8059aab850c35192cf4e228b87b26.tar.gz
dotfiles-88a154659ec8059aab850c35192cf4e228b87b26.tar.bz2
dotfiles-88a154659ec8059aab850c35192cf4e228b87b26.zip
git: clean up home
diffstat (limited to '.config')
-rw-r--r--.config/git/config88
-rw-r--r--.config/git/ignore5
-rw-r--r--.config/yadm/alt/.config/git/gitconfig.local##h.lowe4
-rw-r--r--.config/yadm/alt/.config/git/gitconfig.local##h.maus4
-rw-r--r--.config/yadm/alt/.config/git/gitconfig.local##h.qualle4
5 files changed, 105 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config
new file mode 100644
index 0000000..3ad8b1a
--- /dev/null
+++ b/.config/git/config
@@ -0,0 +1,88 @@
1[include]
2 path = ./gitconfig.local
3[core]
4 autocrlf = input
5 safecrlf = true
6 excludesfile = ~/.config/git/ignore
7 pager = delta
8[alias]
9 co = checkout
10 ci = commit
11 st = status
12 br = branch
13 type = cat-file -t
14 dump = cat-file -p
15 adog = log --all --decorate --oneline --graph
16 hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
17 sl = log --oneline --decorate -20
18 sla = log --oneline --decorate --graph --all -20
19 branches = "for-each-ref --sort=-committerdate --format='%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)' refs/remotes"
20 dft = difftool
21[credential]
22 helper = cache --timeout=3600
23[commit]
24 gpgsign = true
25 verbose = true
26[pull]
27 ff = only
28[push]
29 default = simple
30[merge]
31 conflictStyle = zdiff3
32[rebase]
33 autoSquash = true
34[rerere]
35 enabled = true
36[help]
37 autoCorrect = prompt
38[init]
39 defaultBranch = main
40[diff]
41 tool = difftastic
42 algorithm = histogram
43[sendemail]
44 smtpserver = /usr/bin/msmtp
45 smtpserveroption = -a
46 smtpserveroption = ceng_argor
47[color]
48 ui = true
49[color "diff-highlight"]
50 oldNormal = red bold
51 oldHighlight = red bold 52
52 newNormal = green bold
53 newHighlight = green bold 22
54[color "diff"]
55 meta = yellow
56 frag = magenta bold
57 commit = yellow bold
58 old = red bold
59 new = green bold
60 whitespace = red reverse
61[difftool]
62 prompt = false
63[difftool "difftastic"]
64 cmd = difft "$LOCAL" "$REMOTE"
65[pager]
66 difftool = true
67 diff = delta
68 log = delta
69 reflog = delta
70 show = delta
71[interactive]
72 diffFilter = delta --color-only --features=interactive
73[delta]
74 features = line-numbers decorations side-by-side
75 plus-style = syntax "#003800"
76 minus-style = syntax "#3f0001"
77[delta "decorations"]
78 commit-decoration-style = bold yellow box ul
79 file-style = bold yellow ul
80 file-decoration-style = none
81 hunk-header-decoration-style = cyan box ul
82[delta "line-numbers"]
83 line-numbers-left-style = cyan
84 line-numbers-right-style = cyan
85 line-numbers-minus-style = 124
86 line-numbers-plus-style = 28
87[credential "https://git.overleaf.com"]
88 helper = !pass overleaf/git
diff --git a/.config/git/ignore b/.config/git/ignore
new file mode 100644
index 0000000..116f8e7
--- /dev/null
+++ b/.config/git/ignore
@@ -0,0 +1,5 @@
1.DS_Store
2.idea
3tags
4rusty-tags.vi
5*.svg
diff --git a/.config/yadm/alt/.config/git/gitconfig.local##h.lowe b/.config/yadm/alt/.config/git/gitconfig.local##h.lowe
new file mode 100644
index 0000000..b89436c
--- /dev/null
+++ b/.config/yadm/alt/.config/git/gitconfig.local##h.lowe
@@ -0,0 +1,4 @@
1[user]
2 name = Yigit Sever
3 email = yigit@ceng.metu.edu.tr
4 signingkey = 29515969
diff --git a/.config/yadm/alt/.config/git/gitconfig.local##h.maus b/.config/yadm/alt/.config/git/gitconfig.local##h.maus
new file mode 100644
index 0000000..719ec3b
--- /dev/null
+++ b/.config/yadm/alt/.config/git/gitconfig.local##h.maus
@@ -0,0 +1,4 @@
1[user]
2 name = Yigit Sever
3 email = yigit@ceng.metu.edu.tr
4 signingkey = B87B63C533C38A88
diff --git a/.config/yadm/alt/.config/git/gitconfig.local##h.qualle b/.config/yadm/alt/.config/git/gitconfig.local##h.qualle
new file mode 100644
index 0000000..b89436c
--- /dev/null
+++ b/.config/yadm/alt/.config/git/gitconfig.local##h.qualle
@@ -0,0 +1,4 @@
1[user]
2 name = Yigit Sever
3 email = yigit@ceng.metu.edu.tr
4 signingkey = 29515969