-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
66 lines (66 loc) · 1.68 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
[alias]
a = add
aa = !git add -u && git add . && git status
bd = branch -D
bmg = branch --merged
bmv = branch -m
br = branch -r
brm = branch -r --merged
c = commit -m
ca = commit --amend -m
cd = cd "`git rev-parse --show-toplevel`"
co = checkout
cob = checkout -b
cp = cherry-pick
d = diff
fa = fetch --all
fl = log -u
ir = !git rebase -i
l = log --pretty=format:'%C(green)%h%C(reset) %s %Cblue[%an]%Creset' --graph
lf = log --pretty=format:'%C(green)%h%C(reset)%C(yellow)%d%C(reset) %s %C(blue)[%cn]%C(reset)' --decorate --numstat
lg = log --pretty=format:'%C(green)%h%C(reset)%C(yellow)%d%C(reset) %s %C(red)(%cr)%C(reset) %C(blue)[%an]%C(reset)' --abbrev-commit --graph
mq = merge --squash
pr = pull --rebase
rh = reset --hard
s = status
sa = stash apply
sb = stash branch
sc = stash clear
sl = stash list
sp = stash pop
ss = stash save
um = ls-files -u
[color]
ui = auto
[color "diff-highlight"]
oldNormal = red
oldHighlight = red 52
newNormal = green
newHighlight = green 22
[color "diff"]
frag = magenta
commit = 227
old = red
new = green
whitespace = red reverse
[core]
editor = code --wait
excludesfile = ~/.gitignoreall
pager = diff-so-fancy | less --tabs=4 -RFX
[diff]
tool = default-difftool
[difftool "default-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
[fetch]
prune = true
[init]
defaultBranch = main
[interactive]
diffFilter = diff-so-fancy --patch
[merge]
conflictstyle = diff3
[rerere]
enabled = true
[user]
name = Ryan Gasparini
email = [email protected]