-
Notifications
You must be signed in to change notification settings - Fork 19
/
.gitconfig
68 lines (60 loc) · 1.29 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
[user]
name = Lucas Fernandes da Costa
email = [email protected]
username = lucasfcosta
[core]
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[credential]
helper = store
[merge]
tool = vimdiff
[mergetool]
prompt = true
[mergetool "vimdiff"]
cmd = nvim -d $BASE $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[pull]
rebase = true
[push]
recurseSubmodules = check
[status]
submodulesummary = 1
[alias]
a = add --all
ap = add . -p
#############
b = branch
bd = branch -d
bdd = branch -D
br = branch -r
#############
cm = commit -m
ca = commit --amend
#############
cp = cherry-pick
cpa = cherry-pick --abort
cpc = cherry-pick --continue
#############
m = merge
ma = merge --abort
mc = merge --continue
ms = merge --skip
#############
co = checkout
cob = checkout -b
#############
pr = prune -v
#############
ps = push
psf = push -f
psu = push -u
pst = push --tags
#############
rb = rebase
rba = rebase --abort
rbc = rebase --continue
rbi = rebase --interactive
rbs = rebase --skip
#############
aliases = !git config -l | grep alias | cut -c 7-