-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
48 lines (48 loc) · 1.13 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
[branch]
autosetuprebase = always
[color]
ui = true
[push]
default = current
[credential]
helper = osxkeychain
[user]
email = [email protected]
name = Morgan Sadr-Hashemi
[alias]
a = add
aa = add -A
b = blame
br = branch
c = commit
caa = commit -a --amend -C HEAD
cl = clean -fd
co = checkout
d = diff
dc = diff --cached
l = log --graph --decorate --pretty=\"tformat:%C(green)%h%C(reset) %C(yellow)%ar%C(reset) %C(bold blue)%an%C(reset) %C(bold red)%d%C(reset) %s\"
ld = log --graph --decorate --date=short --pretty=\"tformat:%C(green)%h%C(reset) %C(yellow)%ad%C(reset) %C(bold blue)%an%C(reset) %C(bold red)%d%C(reset) %s\"
p = push
pf = push -f --force-with-lease
st = status -sb
[core]
pager = diff-so-fancy | less --tabs=4 -RFX
excludesFile = ~/.gitignore_global
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 227
frag = magenta bold
commit = 227 bold
old = red bold
new = green bold
whitespace = red reverse
[rerere]
enabled = true
[pull]
ff = only
[init]
defaultBranch = main