forked from czottmann/homedir
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.gitconfig
72 lines (64 loc) · 1.4 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
64
65
66
67
68
69
70
71
72
# User information. Replace with your own data, obviously.
#
[user]
name = Hendrik Mans
email = [email protected]
# Automatically track branches with the same name
#
[branch]
autosetupmerge = true
autosetuprebase = always
# Push the current branch as the default behaviour
#
[push]
default = current
# Include a summary of changes in merge commit messages.
#
[merge]
summary = true
tool = opendiff
defaultToUpstream = true
# Color configuration.
#
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
# Whitespace handliong
#
[core]
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
editor = /usr/bin/vim
# Useful aliases
#
[alias]
st = status -sb
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lol = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
ls = ls-files
springcleaning = for-each-ref --sort=-committerdate --format='%(refname:short) %(committerdate:short)'
[mergetool]
keepBackup = true
[git-up "bundler"]
check = true
autoinstall = true
[filter "media"]
clean = git media clean %f
smudge = git media smudge %f
required = true