-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgitconfig
More file actions
33 lines (32 loc) · 810 Bytes
/
gitconfig
File metadata and controls
33 lines (32 loc) · 810 Bytes
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
[user]
name = Andrew Purcell
email = andrew.purcell@mixpanel.com
[alias]
l = log --decorate
co = checkout
ci = commit
cp = cherry-pick
di = diff
dc = diff --cached
ff = merge --ff-only
g = grep
pom = push origin master
b = branch --format='%(HEAD) %(if)%(HEAD)%(then)%(color:green)%(end)%(refname:lstrip=2) (%(authordate:relative))'
ds = diff --stat=160,120
dh1 = diff HEAD~1
rom = reset --hard origin/master
mom = merge origin/master
rbc = rebase --continue
rba = rebase --abort
rbo = rebase origin/master
swd = log --date=short --pretty='format:Author: %aN <%aE>%n%n%s, %ad%n'
upstream-reset = reset HEAD@{upstream}
[push]
default = current
[merge]
defaultToUpstream = true
[rerere]
enabled = true
[core]
editor = /usr/bin/vim
excludesfile = ~/.gitignore