-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
38 lines (32 loc) · 942 Bytes
/
gitconfig
File metadata and controls
38 lines (32 loc) · 942 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
34
35
36
37
38
[user]
name = Adam Keys
email = adam@therealadam.com
[core]
excludesfile = /Users/adam/.gitignore
autocrlf = input
[alias]
s = status -s
ci = commit
cb = checkout -b
br = branch
co = checkout
d = diff
ll = log --stat --summary --abbrev-commit --date=relative
lp = log --stat --summary --abbrev-commit --no-merges --patch-with-stat
l = log --oneline -n 15 --no-merges
b = branch -a -v
track = !sh -c 'git branch --track "$0" "origin/$0" && git checkout "$0"'
ds = diff --staged
cp = cherry-pick
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
ribbon = tag --force _ribbon origin/master
catchup = log --patch --reverse --topo-order _ribbon..origin/master
[push]
default = tracking
quiet = true
[apply]
whitespace = nowarn
[diff "ruby"]
funcname = ^ *\\(\\(class\\|module\\|def\\) .*\\)
[rerere]
enabled = 1