-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
30 lines (30 loc) · 976 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
[user]
name = Patrik Affentranger
useConfigOnly = true
[core]
autocrlf = true
attributesfile = ~/.gitattributes
excludesfile = ~/.gitignore
editor = subl -w
quotepath = false
[push]
default = current
[pull]
default = current
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = true
[alias]
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = 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) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
rb = rebase --committer-date-is-author-date
[merge]
tool = opendiff
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true