-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig.tmpl
39 lines (38 loc) · 1.52 KB
/
dot_gitconfig.tmpl
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
[alias]
branches-merged = branch --list --remotes --merged
branches-not-merged = branch --list --remotes --no-merged
#lg = lg1
#lg1 = lg1-specific --all
#lg2 = lg2-specific --all
#lg3 = lg3-specific --all
#lg1-specific = log --graph --abbrev-commit --decorate --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(auto)%d%C(reset)'
#lg2-specific = 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(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
#lg3-specific = 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 cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'
jlog = log --max-count=16 --oneline --graph
[core]
autocrlf = false
eol = lf
pager = less -FXR
[diff]
wsErrorHighlight = all
[fetch]
prune = true
[init]
defaultBranch = main
[push]
autoSetupRemote = true
[status]
aheadBehind = true
branch = true
hints = true
relativePaths = false
#short = true
[user]
name = Jason Heath
{{- if eq .chezmoi.username "jaheath" }}
email = [email protected]
{{- else if eq .chezmoi.username "jah" }}
email = [email protected]
{{- else }}
email = [email protected]
{{- end }}