-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
93 lines (86 loc) · 1.81 KB
/
gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[core]
excludesfile = ~/.gitignore_global
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore-rab
trustctime = false
editor = nvim
[user]
name = John O'Gara
email = [email protected]
signingkey = 47B158BF9D9096A3
[commit]
template = ~/.stCommitMsg
gpgsign = true
[alias]
pushf = push --force-with-lease
co = checkout
br = branch
ci = commit
st = status -sb
comf = commit --no-edit --no-verify --amend
graph = log --graph --oneline --decorate=short --branches='*'
df = diff --color-words='[^[:space:]]'
sh = show --color-words='[^[:space:]]'
lg = log -p
serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git
pend = cherry -v origin/master
tree = log --graph --oneline --decorate
[pull]
default = current
[push]
default = current
[color]
branch = auto
diff = auto
status = auto
showbranch = auto
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[apply]
whitespace = nowarn
[branch]
autosetuprebase = always
sort=-committerdate # DESC
sort=committerdate # ASC
[rerere]
enabled = 1
[log]
# date = short
date = relative
; [format]
; pretty = '%C(yellow)%h%Creset %ae %C(magenta)%cd%Creset %d %s'
[pretty]
reflog = %C(auto)%h %<|(20)%gd %C(blue)%cr%C(reset) %gs (%s)
[github]
user = jkogara
[gitlab]
email = [email protected]
user = jkogara
[url "ssh://[email protected]/"]
insteadOf = https://github.com/
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool]
prompt = false
[init]
defaultBranch = main
templatedir = /home/jkogara/.git_template
[credential]
helper = store
[gpg]
program = gpg
[fetch]
writeCommitGraph = true