-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgitconfig
63 lines (59 loc) · 1.58 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[user]
name = Chad Chabot
email = [email protected]
[core]
quotepath = false
excludesfile = ~/.gitignore
editor = /usr/bin/vim
autocrlf = input
pager = less -FMRiX #what does this do exactly?
[commit]
template = ~/.gitmessage
[alias]
amend = commit --amend --no-edit
files = log --numstat --oneline
names = shortlog -sn
co = checkout
cb = checkout -b
ci = commit
cm = commit -m
st = status
br = branch
d = branch -D
del = branch -D
p = pull
#TODO: this is broken. Figure out what the correct format string is.
hist = log --pretty-format:\"%h %ad | %s%d [%an]\" --graph --date-short
type = cat-file -t
dump = cat-file -p
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
tree = log --color --graph --pretty=format: ''
lga = log --graph --decorate --all
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)%cr%C(reset)%C(auto)%d%C(reset)%n%s' --date-order'
cached = diff --cached
cached-files = diff --cached --name-only
# push easily. http://stackoverflow.com/a/23918418/89484
[push]
default = current
[color]
ui = auto
diff = auto
status = auto
branch = auto
[color "branch"]
current = yellow reverse
remote = green bold
local = blue bold
[color "diff"]
meta = blue bold
frag = magenta bold
old = red bold
new = green bold
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[push]
default = simple
[pull]
rebase = true