-
Notifications
You must be signed in to change notification settings - Fork 4
/
gitconfig.install
46 lines (41 loc) · 982 Bytes
/
gitconfig.install
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
[core]
excludesfile = ~/.gitignore
[user]
name = Randolph Voorhies
email = [email protected]
[diff]
tool = gvimdiff
[color]
ui = true
[color "branch"]
current = yellow black bold
local = yellow
remote = magenta
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red reverse
new = green reverse
whitespace = white reverse
[color "status"]
added = yellow
changed = green
untracked = cyan reverse
branch = magenta
# vim:syntax=gitconfig
[merge]
tool = gvimdiff
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
type = cat-file -t
dump = cat-file -p
unstage = reset HEAD --
last = log -1 HEAD
lg = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
hi = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[push]
default = matching