-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
60 lines (49 loc) · 1.34 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
[alias]
st = status -sb
br = branch -vv
ci = commit -v
cm = commit -am
df = diff
di = diff
dh = diff HEAD~
co = checkout
ff = merge --ff-only
noff = merge --no-ff
fa = fetch --all --tags --prune
targz = ! "targz() { git archive --format tar.gz --prefix=\"${PWD##*/}/\" HEAD -o ${1}; }; targz"
zip = ! "zip() { git archive --format zip --prefix=\"${PWD##*/}/\" HEAD -o ${1}; }; zip"
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ; }; gi"
pff = pull --rebase
dt = difftool
update-submodules = submodule update --recursive --remote --init
serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
rm-deleted = !git rm $(git ls-files --deleted)
[user]
email = [email protected]
name = Ruben Vereecken
[diff]
tool = vimdiff
[difftool]
prompt = false
[merge]
defaultToUpstream = true
tool = vimdiff
[push]
default = simple
followTags = true
[pretty]
line = "%C(auto)%h%d %s %C(yellow)by %C(blue)%an %C(green)%ar"
compact = "%C(auto)%h %s %C(green)%ar%n %C(auto)%d%n"
detail = "%C(auto)%h %s%n %C(yellow)by %C(blue)%an %C(magenta)<%ae> [%G?] %C(green)%ar%n %C(auto)%d%n"
[fetch]
prune = true
[grep]
lineNumber = true
[core]
excludesfile = ~/.gitignore_global
eol = lf
# Allow local customizations in the .gitconfig_local file
[include]
path = ~/.gitconfig_local
[pull]
rebase = true