-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
77 lines (66 loc) · 1.47 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
69
70
71
72
73
74
75
76
77
[user]
name = Samuel Fabrizio
email = samuelfabrizio@gmail.com
signingkey = 9BFE0A32A50854FA
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = green
changed = magenta
untracked = white
[core]
editor = vim
excludesfile = ~/dotfiles/gitignore
[push]
default = simple
[branch]
short = -commiterdate
[column]
ui = auto
[rerere]
enabled = true
[pager]
diff = false
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset-%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lo = !git --no-pager log --oneline --abbrev-commit --all --graph --decorate --color
a = add
ap = add -p
au = add -u
apu = add -p -u
ls = !git --no-pager log -n20 --reverse --stat
s = status
st = status
cl = clone
df = !git diff
dfc = !git diff --cached
pullr = pull --rebase
co = checkout
st = status
sa = stash
sal = stash list
sap = stash pop
sad = stash drop
sas = git stash show --text
br = branch
brd = branch -D
rh = reset HEAD
sh = show
cam = commit --amend
undo = reset HEAD@{1}
#update the remote branches reference and delete the branch that doesnt exist anymore on origin.
rupdate = remote update --prune
rf = reflog
#turbo binding
l = tl
c = tc
add = ta