forked from christianr1337/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
80 lines (80 loc) · 1.77 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
78
79
80
[user]
name = Alejandro Gómez
email = alejandro@dialelo.com
[core]
editor = vim
excludesfile = ~/.gitignore_global
[rerere]
enabled = true
[clean]
requireForce = false
[alias]
aliases = !git config --get-regexp 'alias.*' | colrm 1 6 | sed 's/[ ]/ == /'
a = add
au = add -u
ap = add -p
b = branch
bl = branch -va
bd = branch -d
bm = branch --merged
bu = branch --no-merged
c = commit
cl = clone
ca = commit --amend -C HEAD
cam = commit --amend
cm = commit -m
co = checkout
cob = checkout -b
d = diff --word-diff
ds = !git diff | cdiff -s
dc = diff --cached
dl = diff HEAD^1
f=fetch
fa = fetch --all
l = log --graph --decorate --no-merges --oneline
ld = log -p --word-diff --oneline
tl = log --graph --decorate --branches --oneline
m = merge
ph = !git pull --rebase && git push
phu = push --set-upstream
PH = push --force
pl = pull --rebase
plom = pull --rebase origin master
rem = remote -v
rema = remote add
remr = remote rm
rc = rebase --continue
rm = rm --cached
s = status -sb
st = stash --keep-index
sts = stash save
sta = stash apply
stp = stash pop
std = stash drop
discard = reset HEAD --hard
u = checkout HEAD --
[color]
ui = true
[color "status"]
untracked = cyan
[help]
autocorrect = true
[diff]
algorithm = patience
[merge]
tool = vimdiff
[push]
default = current
[branch]
autosetuprebase = always
[tig]
show-date = relative
line-graphics = ascii
tab-size = 4
ignore-space = at-eol
[credential]
helper = cache --timeout=3600
[url "git@github.com:alejandrogomez/"]
insteadOf = "gh:"
[url "git@bitbucket.org:alejandrogomez/"]
insteadOf = "bb:"