-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
64 lines (64 loc) · 1.64 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
[user]
name = Alexander Teslovskiy
username = ARtoriouS
email = [email protected]
signingkey = 58AE34170C94300A
[github]
user = ARtoriouSs
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/dotfiles/git/.gitignore.global
quotepath = true # show unusual symbols as bytes
pager = "diff-so-fancy | less --tabs=2 -RFX"
[push]
default = current
[color]
ui = true
[color "diff"]
meta = "11"
frag = "magenta bold"
commit = "yellow bold"
old = "red bold"
new = "green bold"
whitespace = "red reverse"
[color "diff-highlight"]
oldNormal = "red bold"
oldHighlight = "red bold 52"
newNormal = "green bold"
newHighlight = "green bold 22"
[color "status"]
added = "green bold"
changed = "yellow bold"
untracked = "red bold"
[color "branch"]
current = "yellow bold"
local = "green bold"
remote = "cyan bold"
[status]
short = true
[alias]
root = rev-parse --show-toplevel
cl = clone
rem = remote
f = fetch
b = branch
co = checkout
a = add
aa = add --all
cm = commit -m
ca = commit --amend
can = commit --amend --no-edit
r = rebase
ra = rebase --abort
rc = rebase --continue
rs = rebase --skip
st = status
cp = cherry-pick
d = diff \":(exclude)*package-lock.json\"
ds = diff --staged \":(exclude)*package-lock.json\"
l = log --pretty=format:\"%C(yellow bold)%h%Creset | %C(blue bold)%ad%Creset, %C(green bold)%an%Creset %s%C(red bold)%d%Creset\" --graph --date=relative
[commit]
gpgsign = true
[pull]
rebase = false