-
Notifications
You must be signed in to change notification settings - Fork 1
/
gitconfig
57 lines (55 loc) · 973 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[user]
name = Teo Ljungberg
email = [email protected]
signingkey = B5D3178C
[github]
user = teoljungberg
[alias]
a = add --all
br = branch
c = commit
co = checkout
cp = cherry-pick
d = diff
dc = diff --cached
l = log --oneline
ls = ls-files
p = push-origin-or-fork
r = recent
ctags = "!sh -c '[ ! -e .git/hooks/ctags ] && git init; .git/hooks/ctags' git-ctags"
hub = !hub $@
safe = !mkdir -p $(git rev-parse --git-dir)/safe
[merge]
tool = vimdiff
[core]
editor = vim -f
excludesfile = ~/.gitignore
pager = less -S
[push]
default = current
[help]
autocorrect = 1
[branch]
autosetuprebase = always
[init]
templatedir = ~/.git_template
[grep]
linenumber = true
[fetch]
prune = true
[rebase]
autosquash = true
[pull]
rebase = true
[color]
advice = false
push = false
transport = false
ui = false
[commit]
cleanup = scissors
verbose = true
[hub]
protocol = ssh
[include]
path = ~/.gitconfig.local