forked from ryanb/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitconfig
48 lines (44 loc) · 876 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[include]
path = ~/.gitconfiglocal
path = ~/.gitconfigglobal
[alias]
co = checkout
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
who = shortlog -s --
dc = diff --cached
amend = commit --amend --reset-author
aa = add --all
head = !git l -1
h = !git head
r = !git --no-pager l -20
ra = !git r --all
ff = merge --ff-only
pullff = pull --ff-only
l = log --graph --abbrev-commit --date=relative
la = !git l --all
fa = fetch --all
pom = push origin master
[format]
pretty=format:%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset
[merge]
tool = vimdiff
[apply]
whitespace = nowarn
[color]
diff = auto
status = auto
branch = auto
interactive = auto
[core]
excludesfile = ~/.gitignore
[diff]
tool = vimdiff
[github]
user = glanotte
[push]
default = matching