forked from crccheck/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
33 lines (32 loc) · 790 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
[color]
branch = auto
ui = auto
diff = auto
status = auto
[user]
name = crccheck
email = [email protected]
[color "diff"]
whitespace = red reverse
[core]
whitespace = fix,-indent-with-non-tabl,trailing-space,cr-at-eol
editor = vi
[apply]
whitespace = nowarn
[alias]
s = status
b = branch
ba = branch -ra
co = checkout
caa = commit -a --amend -C HEAD
d = diff -b
fa = fetch --all
l = log --decorate --pretty=oneline --abbrev-commit
lg = log -p
ls = log --stat
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
derp = reset --hard HEAD
vi = "!f() { git ls-files -m | cut -f2 | sort -u ; }; vi -gp `f`"
[merge]
tool = meld