.gitconfig - dotfiles - 🍚 personal arsenal of "rice"
HTML git clone https://git.drkhsh.at/dotfiles.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
.gitconfig (2758B)
---
1 # ██████╗ ██╗████████╗ ██████╗ ██████╗ ███╗ ██╗███████╗██╗ ██████╗
2 # ██╔════╝ ██║╚══██╔══╝██╔════╝██╔═══██╗████╗ ██║██╔════╝██║██╔════╝
3 # ██║ ███╗██║ ██║ ██║ ██║ ██║██╔██╗ ██║█████╗ ██║██║ ███╗
4 # ██║ ██║██║ ██║ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║
5 # ╚██████╔╝██║ ██║ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝
6 # ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
7 # drkhsh <me@drkhsh.at>
8
9 [user]
10 email = me@drkhsh.at
11 name = drkhsh
12 signkey = DB66EE24B07C5FD4EFF6A9E299DB0D8C2A51DB2B
13
14 [core]
15 excludesfile = ~/.gitignore
16 [pull]
17 rebase = true
18 [rebase]
19 autosquash = true
20 [push]
21 default = current
22 [grep]
23 lineNumber = true
24 [commit]
25 verbose = true
26
27 [alias]
28
29 a = add
30 c = commit
31 ca = commit --amend
32 p = push
33 s = status -sb
34 d = diff
35 ds = diff --staged
36 co = checkout
37 cb = checkout -b
38 f = fetch --all
39 pu = pull
40 b = !git -P branch -a
41 l = !git log --graph \
42 --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' \
43 --abbrev-commit
44 m = merge
45 r = rebase
46 branches = !git -P branch -a
47 remotes = remote -v
48
49 [log]
50 date = short
51 [format]
52 # sane git-log
53 pretty = format:"%C(auto)%h %C(green)%aN%Creset %s"
54 pretty = format:"%C(black 7)▓▒░ %h ░▒▓%C(black 37) %cd ░▒▓%Creset %C(magenta)%aN%Creset %d %s"
55
56 [color]
57 ui = auto
58 diff = auto
59 status = auto
60 branch = auto
61 # force color for interactive use
62 interactive = always
63 grep = always # fix for grep/less
64
65 [tig]
66 main-view = date:relative,format="%Y-%m-%d" author:full commit-title:graph=true,refs=true
67 diff-view = line-number:yes,interval=1 text:commit-title-overflow=true
68 diff-options = --pretty=short
69 reference-format = (branch) <tag> {remote} ~replace~
70 line-graphics = utf-8
71 truncation-delimiter = ~
72 tab-size = 4
73 [tig "color"]
74 default = 246 235
75 cursor = 223 239
76 diff-add = 142 default
77 diff-del = 167 default
78 diff-stat = 223 default
79 diff-chunk = 109 default
80 title-focus = 235 241
81 title-blur = default 241
82
83 # machine-specific gitconfig
84 [include]
85 path = .gitconfig.local
86