-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
53 lines (41 loc) · 1.12 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
[user]
name = Joshua Elliott
[core]
editor = vim
# pager = delta
excludesFile = ~/.config/git/ignore
ignorecase = false
attributesfile = ~/.gitattributes
[diff]
algorithm = patience
colorMoved = default
[interactive]
diffFilter = delta --color-only
[color]
ui = auto
[push]
default = simple
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool "vimdiff"]
trustExitCode = false
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
syntax-theme = base16
true-color = never # this is needed for VSCode's integrated terminal to render correctly
[github]
user = jcelliott
[log]
decorate = short
[alias]
log-detail = log --all --stat --graph
log-branch = log --stat --graph
; log-summary = log --all --graph --oneline
log-summary = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
revision = rev-parse HEAD
rev = rev-parse --short HEAD
untracked = ls-files --others
[init]
defaultBranch = main