-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
42 lines (42 loc) · 999 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
[alias]
co = checkout
ci = commit
st = status
br = branch
rb = rebase
fe = fetch
undo = reset --hard
l = log --stat --find-renames --pretty=format:\"%C(yellow)%h%C(cyan)%d%C(reset) (%ar - %C(red)%an%C(reset)) %n%B\"
hist = log --graph --date=short --pretty=format:\"%C(yellow)%h %C(green)%ad%C(reset) |%C(cyan)%d%C(reset) %s (%C(red)%an%C(reset))\"
type = cat-file -t
dump = cat-file -p
sdiff = diff --staged
fp = format-patch --stdout
todo = grep -ie todo -ie fixme
ff = !git rb `git rev-parse --abbrev-ref --symbolic-full-name @{u}`
update = !git fe && git ff
[core]
editor = vim
excludesfile = ~/.gitignore
[color]
diff = auto
status = auto
branch = auto
[color "status"]
added = green
changed = blue
untracked = red
[color "diff"]
meta = yellow
old = red
new = green
[push]
default = current
[diff]
renames = copies
mnemonicprefix = true
[branch]
autosetupmerge = true
[user]
name = Eric Bellemon
email = eric.bellemon@gmail.com