-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgitconfig
70 lines (70 loc) · 1.89 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
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "log"]
author = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[color]
ui = true
[color "diff"]
whitespace = red reverse
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
editor = /usr/bin/env vim
excludesfile = ~/.gitignore_global
pager = ~/.scripts/git-pager
[alias]
st = status
ci = commit --verbose
a = commit --amend --verbose
br = branch
co = checkout
cp = cherry-pick
df = diff
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
l = !zsh ~/.zsh/functions/git-log-pretty
la = !zsh ~/.zsh/functions/git-log-pretty --all
last = log -p -1
catchup = !zsh ~/.zsh/functions/git-catch-up
head = !git log -n 1
graph = log --graph --abbrev-commit --decorate --date=relative --full-history --format=format:'%C(bold blue)%h%C(reset) %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold blue)%an%C(reset)%C(bold yellow)%d%C(reset)'
[push]
default = tracking
[pull]
rebase = true
[branch]
autosetuprebase = always
[gui]
fontui = -family \"DejaVu Sans\" -size 14 -weight normal -slant roman -underline 0 -overstrike 0
fontdiff = -family Consolas -size 14 -weight normal -slant roman -underline 0 -overstrike 0
[giggle]
main-window-maximized = false
main-window-geometry = 857x1163+160+106
history-view-vpane-position = 635
file-view-vpane-position = 661
main-window-view = HistoryView
[rerere]
enabled = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[include]
path = ~/.gitconfig.local
[init]
defaultBranch = main