-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
39 lines (39 loc) · 840 Bytes
/
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
[alias]
a = add
l = log
d = diff
co = checkout
cp = cherry-pick
cl = clone
st = status
br = branch
cmt = commit
rct = rebase --continue
dch = diff --cached
pu = ![[ $(git config "branch.$(git symbolic-ref --short HEAD).merge") = '' ]] \
&& git push -u origin $(git symbolic-ref --short HEAD) || git push
pushd = push -u origin HEAD
[user]
name = CristhianMotoche
email = [email protected]
[core]
editor = nvim
excludesfile = ~/.gitignore
pager = diff-so-fancy | less
autocrlf = input
[push]
default = simple
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse