-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
57 lines (55 loc) · 1.27 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
; +---------------------------------------------------------
; | Description: global git configuration
; | Author: James Lawson
; | Licence: MIT
; +---------------------------------------------------------
;
; +---------------------------------------------------------
; |- DEPENDENCIES
; +---------------------------------------------------------
; [*]: Requires v2.6.3+ of git
[user]
name = James Lawson
email = [email protected]
[core]
editor = nvim
excludesfile = /Users/james/.git-excludesfile
hooksPath = /Users/james/.git-templates/hooks
pager = diff-so-fancy | less --tabs=4 -RFX
[alias]
st = status
ci = commit
co = checkout
s = status -s
lg = log --oneline --decorate --all --graph
d = difftool
ci = commit
[url "https://"]
insteadOf = git://
[push]
default = simple
[diff]
tool = vimdiff
[difftool]
prompt = false
[url "ssh://[email protected]/"]
insteadOf = https://github.com/
[init]
defaultBranch = main
[interactive]
diffFilter = diff-so-fancy --patch
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse