-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
46 lines (46 loc) · 1.45 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
[user]
name = Johannes Faigle
email = [email protected]
[alias]
hist = log --graph --branches --remotes --tags --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
hist2 = log --exclude=release --branches --exclude=ad-build/release --remotes --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
st = status -sb
ctags = !.git/hooks/ctags
rewrite-branch = !git rebase -i $(git merge-base master HEAD)
authors = shortlog -s -n
l = log --pretty=oneline --abbrev-commit
ll = log --pretty=format:'[%h] %ae, %ar: %s' --stat
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim yellow)%an%C(reset)' --all
[core]
excludesfile = ~/.gitignore_global
editor = /usr/local/bin/vim
autocrlf = input
[rebase]
autosquash = true
[credential]
helper = osxkeychain
[push]
default = simple
[init]
templatedir = ~/.git_template
[pull]
rebase = preserve
[diff]
tool = vimdiff
compactionheuristic = true
[merge]
tool = vimdiff
[difftool]
prompt = false
[filter "media"]
required = true
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