initial commit
This commit is contained in:
@@ -0,0 +1,88 @@
|
||||
[user]
|
||||
name = {{ .git.user }}
|
||||
email = {{ .git.email }}
|
||||
|
||||
[core]
|
||||
pager = bat
|
||||
autocrlf = input
|
||||
editor = nvim
|
||||
preloadindex = true
|
||||
fscache = true
|
||||
longpaths = true
|
||||
[help]
|
||||
autocorrect = prompt
|
||||
|
||||
[color]
|
||||
ui = true
|
||||
|
||||
[init]
|
||||
defaultBranch = master
|
||||
|
||||
[commit]
|
||||
verbose = true
|
||||
|
||||
[push]
|
||||
default = simple
|
||||
autoSetupRemote = true
|
||||
|
||||
[pull]
|
||||
rebase = true
|
||||
|
||||
[fetch]
|
||||
prune = true
|
||||
pruneTags = true
|
||||
all = true
|
||||
|
||||
[rerere]
|
||||
enabled = true
|
||||
autoupdate = true
|
||||
|
||||
[rebase]
|
||||
autoSquash = true
|
||||
autoStash = true
|
||||
updateRefs = true
|
||||
|
||||
[branch]
|
||||
sort = -comitterdate
|
||||
autosetuprebase = remote
|
||||
autosetupmerge = true
|
||||
|
||||
[tag]
|
||||
sort = version:refname
|
||||
|
||||
[diff]
|
||||
tool = meld
|
||||
algorithm = histogram
|
||||
colorMoved = plain
|
||||
mnemonicPrefix = true
|
||||
renames = true
|
||||
|
||||
[difftool]
|
||||
prompt = false
|
||||
|
||||
[difftool "meld"]
|
||||
cmd = meld "$LOCAL" "$REMOTE"
|
||||
|
||||
[merge]
|
||||
tool = meld
|
||||
[mergetool]
|
||||
prompt = false
|
||||
|
||||
[mergetool "meld"]
|
||||
cmd = meld "$LOCAL" "$BASE" "$REMOTE" --output "$MERGED"
|
||||
|
||||
[credential]
|
||||
{{ if eq .chezmoi.osRelease.id "arch" -}}
|
||||
helper = /usr/lib/git-core/git-credential-libsecret
|
||||
{{- end }}
|
||||
|
||||
[column]
|
||||
ui = auto
|
||||
|
||||
[alias]
|
||||
st = status
|
||||
lg1 = 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)' --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(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
|
||||
|
||||
# vim: ft=template syntax=gitconfig
|
||||
|
||||
Reference in New Issue
Block a user