-
Notifications
You must be signed in to change notification settings - Fork 49
/
gitconfig
33 lines (31 loc) · 924 Bytes
/
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
# ADD LOCAL CONFIGURATION HERE
# DO NOT EDIT BELOW THIS LINE
[push]
default = tracking
[color]
diff = auto
status = auto
branch = auto
[core]
excludesfile = ~/.gitignore
[format]
pretty = %Cblue%h%Creset %Cgreen[%ar]%Creset (%an) %s
[alias]
c = commit -m
a = add
di = diff
dic = diff --cached
pl = pull
ps = push
plre = pull --rebase
st = status
out = log origin..HEAD
qpl = log --pretty=\"%Cblue%h%Creset %Cgreen[%cr]%Creset %s\" origin/production..origin/master
graph = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
ci = commit
ca = commit --amend
pr = remote prune origin
up = !git fetch origin && git rebase origin/master
rbc = rebase --continue
rbi = rebase -i
mm = !test `git rev-parse master` = $(git merge-base HEAD master) && git checkout master && git merge HEAD@{1} || echo "Non-fastforward"