-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
41 lines (40 loc) · 986 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
[user]
name = Dan Harper
email = [email protected]
[core]
excludesfile = /Users/danharper/.gitignore_global
quotepath = false
autocrlf = input
editor = vim
pager = diff-highlight | diff-so-fancy | less --tabs=1,5 -R
[mergetool]
keepBackup = true
[color]
ui = true
[alias]
root = !pwd -P
# Fancy logging.
# h = head
# hp = head with patch
# r = recent commits, only current branch
# ra = recent commits, all reachable refs
# l = all commits, only current branch
# la = all commits, all reachable refs
head = !git l -1
h = !git head
hp = "!. ~/.bin/dotfiles/githelpers && show_git_head"
r = !git l -30
ra = !git r --all
l = "!. ~/.bin/dotfiles/githelpers && pretty_git_log"
la = !git l --all
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true