-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitconfig
More file actions
36 lines (36 loc) · 1.13 KB
/
.gitconfig
File metadata and controls
36 lines (36 loc) · 1.13 KB
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
[user]
name = "Tzu-Te \"Davy\" Kuo"
email = me@davy.tw
[alias]
lg = !"git lg1"
ls = !"git ls1"
ls1 = !"git lg1 --simplify-by-decoration"
ls2 = !"git lg2 --simplify-by-decoration"
lg1 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)- %an%C(reset)%C(auto)%d%C(reset)' --abbrev-commit
lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)- %an%C(reset)' --abbrev-commit
[core]
excludesfile = ~/.gitignore_global
whitespace = indent-with-non-tab, space-before-tab, trailing-space, cr-at-eol
autocrlf = input
pager = less -x2
[push]
default = simple
[help]
autocorrect = 1
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[rebase]
autoStash = true
autoSquash = true
[color "decorate"]
HEAD = bold magenta
branch = bold yellow
remoteBranch = yellow
stash = bold red
#[includeIf "gitdir:~/xyz/"]
# path = ~/xyz/.gitconfig
[pull]
ff = only
[url "https://github.com/"]
insteadOf = git://github.com/