-
Notifications
You must be signed in to change notification settings - Fork 7
/
.gitconfig
67 lines (67 loc) · 1.44 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
[apply]
whitespace = fix
[core]
autocrlf = input
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
whitespace = fix,space-before-tab,tab-in-indent,trailing-space
[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
[color "status"]
added = green
changed = yellow
untracked = cyan
[merge]
log = true
[url "[email protected]:"]
insteadOf = "gh:"
pushInsteadOf = "github:"
pushInsteadOf = "git://github.com/"
[url "git://github.com/"]
insteadOf = "github:"
[url "[email protected]:"]
insteadOf = "gst:"
pushInsteadOf = "gist:"
pushInsteadOf = "git://gist.github.com/"
[url "git://gist.github.com/"]
insteadOf = "gist:"
[user]
name = Lukas Rieder
email = [email protected]
[alias]
s = status
co = checkout
com = commit
coma = "commit -a"
acom = "aicommit"
acoma = "aicommit -a"
history = "log -p"
shallow-clone = "clone --depth=1"
tree = "log --graph --oneline --all --decorate=full"
pick = "cherry-pick"
contributors = "shortlog -n -s --no-merges"
amend = "commit -a --amend"
amenda = "commit -a --amend"
amen = "commit --amend --no-edit"
amena = "commit -a --amend --no-edit"
staged = "diff --staged"
bush = "push --set-upstream $(git remote) HEAD"
[push]
default = upstream
[status]
submoduleSummary = true
[pull]
ff = only
[safe]
directory = /usr/local/dotfiles
[init]
defaultBranch = main