-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig.tmpl
48 lines (44 loc) · 1.34 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
39
40
41
42
43
44
45
46
47
48
[user]
name = {{ .fullname }}
email = {{ .email }}
[color]
ui = auto
[core]
quotepath = false
excludesfile = {{ .home }}/.gitignore
editor={{ if lookPath "nvim" }}nvim{{ else if lookPath "vim" }}vim{{ else if lookPath "vi" }}vi{{ end }}
[commit]
gpgSign = false
[tag]
forceSignAnnotated = false
{{ if lookPath "gpg" }}
[gpg]
program = /bin/gpg
{{end}}
[alias]
graph = log --graph --pretty=short --abbrev-commit --date relative
graphdate = log --graph --pretty=short --abbrev-commit
daily = log --author='{{ .email }}' --since '1 day ago' --oneline
bidaily = log --author='{{ .email }}' --since '36 hours ago' --oneline
weekly = log --author='{{ .email }}' --since '1 week ago' --oneline
pushnotes = push origin refs/notes/*:refs/notes/*
project-summary = !which onefetch && onefetch
appraise = !{{ .home }}/go/bin/git-appraise
[cola]
spellcheck = false
[push]
default = current
[pull]
rebase = false
[init]
templateDir = {{ .chezmoi.homeDir }}/.config/git/template
{{if (eq .chezmoi.hostname "valkyrie")}}
[filesystem "Azul Systems, Inc.|11.0.8|/dev/mapper/data-root"]
timestampResolution = 20000 nanoseconds
minRacyThreshold = 6681 microseconds
{{end}}
[filesystem "Oracle Corporation|13|/dev/sda3"]
timestampResolution = 14000 nanoseconds
minRacyThreshold = 6844 microseconds
{{if (eq .chezmoi.hostname "valkyrie")}}
{{end}}