-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
54 lines (44 loc) · 1.58 KB
/
gitconfig
File metadata and controls
54 lines (44 loc) · 1.58 KB
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
[user]
name = John Zila
email = john@jzila.com
signingkey = 8D287864
[push]
default = current
[alias]
ci = commit
st = status
co = checkout
oneline = log --pretty=oneline
br = branch
la = log --pretty=\"format:%ad %h (%an): %s\" --date=short
lgthis = log --graph --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(bold white)%an — %C(reset)%C(white)%s%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lgall = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(bold white)%an — %C(reset)%C(white)%s%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lgall2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
diff2 = diff --ignore-all-space --patience
nevermind = reset --hard HEAD
lg = !"git lg1"
fixup = commit --amend -C HEAD
blast = for-each-ref --sort=-committerdate refs/heads/ --format="%(committerdate:relative)%09%(refname:short)"
fix = !"git diff --name-only --relative -z --diff-filter=U | uniq | xargs -0 ${EDITOR}"
[color]
ui = true
[core]
editor = nvim
excludesfile = /home/john/.gitignore_global
pager = delta
[diff]
tool = nvimdiff
algorithm = patience
[diff "lockb"]
textconv = bun
binary = true
[delta]
line-numbers = true
side-by-side = true
[merge]
tool = nvimdiff
conflictstyle = diff3
[rerere]
enabled = true
[init]
defaultBranch = main