-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
73 lines (66 loc) · 1.78 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
[user]
name = Pedro Rodriguez
email = [email protected]
alias = pjrt
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = auto
[alias]
st = status -sb
ci = commit
cl = clone
co = checkout
br = branch
ps = push
pl = pull
dc = diff --cached
logme = log --graph --author="prodriguez"
logg = log --graph
gn = grep -n
todo = grep -n -E "(todo|TODO):(pr|pjrt|pedro| NOW)"
unadd = reset
ready = rebase -i @{u}
l = log --pretty=format:\"%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold yellow)<%an>%Creset\" --max-count=10
lg = log --pretty=format:\"%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold yellow)<%an>%Creset %d\"
lgd = log --date=short --pretty=format:\"%Cred%h%Creset -%Creset %s %Cgreen(%cd) %C(bold yellow)<%an>%Creset\"
lgg = log --graph --oneline --decorate HEAD
purr = pull --rebase
pr = pull --rebase
m = branch -a --merged
nm = branch -a --no-merged
continue = rebase --continue
skip = rebase --skip
abort = rebase --abort
ss = stash
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi"
amend = commit --amend -C HEAD
resync = reset --hard @{u}
redo = reset --soft HEAD~
set-upstream = "!su() { git branch --set-upstream-to=origin/$(git rev-parse --abbrev-ref HEAD); }; su"
[push]
default = current
[core]
editor = nvim
excludesfile = ~/.gitignore
[branch "master"]
remote = origin
merge = refs/heads/master
[github]
user = pjrt
[branch]
autoSetupRebase = always
[color "decorate"]
HEAD = cyan
[init]
templatedir = ~/.git_template
[web]
browser = chromium
[diff]
compactionHeuristic = true
[tag]
sort = -version:refname
[includeIf "gitdir:~/code/work/"]
path = .gitconfig-work