-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
96 lines (80 loc) · 1.82 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
94
95
96
[include]
path = ~/.gitconfig.user
[core]
excludesfile = ~/.gitignore
editor = /opt/homebrew/bin/nvim
autocrlf = input
eol = lf
pager = diff-so-fancy | less --tabs=2 -RFX
[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
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
st = status
a = add -A
cl = clean -f -d
cm = commit -m
co = checkout
br = branch -a
ps = push
pl = pull
mg = merge --no-ff
mgt = mergetool
c = commit
r = rebase
rs = reset
rss = reset --soft HEAD~1
rsh = reset HEAD --hard
unst = reset HEAD
s = stash
sp = stash pop
mgr = merge -s recursive -X theirs
su = submodule update
df = diff --color
dfs = diff --staged
dh = diff --color HEAD@{1}
dt = diff-tree --no-commit-id --name-status -r
fi = flow init
url = config --get remote.origin.url
seturl = remote set-url origin
prune = remote prune origin
hist = log --pretty=format:\"%h | %ad | %an | %s%d \" --graph --date=local
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lo = log --graph --decorate --pretty=oneline --abbrev-commit --all
pu = !"git fetch origin -v; git fetch upstream -v; git merge upstream/master"
type = cat-file -t
dump = cat-file -p
[diff]
tool = vimdiff
guitool = vimdiff
compactionHeuristic = true
[mergetool]
prompt = false
keepBackup = false
[push]
default = simple
[http]
postBuffer = 157286400
[interactive]
diffFilter = diff-highlight
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[rerere]
enabled = true
autoUpdate = true