-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
40 lines (35 loc) · 1.16 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
[user]
name = Kylo Ginsberg
email = [email protected]
[core]
excludesfile = /Users/kylo/.gitignore
[color]
ui = true
[log]
date = local
[alias]
last = log -1 HEAD
lg = "log --pretty=format:'%C(yellow)%h%C(reset) %C(blue)%an%C(reset) %C(cyan)%cr%C(reset) %s %C(green)%d%C(reset)' --graph --date-order"
evil = submodule update --init --recursive
# aliases for bisect when trying to find the first *good* rev
bisect-fixed = bisect bad
bisect-broken = bisect good
branchdate = !git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short)%09%(authorname)%09%(refname:short)' | less
stat = status --untracked-files=no
logm = ! "git log $1^..$1"
check-whitespace = !git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
hardpull = !git fetch origin && git reset --hard origin/$(git rev-parse --abbrev-ref HEAD)
[filter "media"]
clean = git media clean %f
smudge = git media smudge %f
required = true
[credential]
helper = osxkeychain
[rerere]
enabled = 1
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[push]
default = simple