feat: add some fancy git magic
This commit is contained in:
parent
16f97f70d8
commit
8da896dcc4
1 changed files with 39 additions and 4 deletions
|
@ -2,21 +2,33 @@
|
||||||
email = {{ .email }}
|
email = {{ .email }}
|
||||||
name = {{ .name }}
|
name = {{ .name }}
|
||||||
signingkey = 1A80DDB584AF7DA7
|
signingkey = 1A80DDB584AF7DA7
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
pager = delta
|
pager = delta
|
||||||
excludesfile = {{ .chezmoi.homeDir }}/.gitignore
|
excludesfile = {{ .chezmoi.homeDir }}/.gitignore
|
||||||
|
fsmonitor = true
|
||||||
|
untrackedCache = true
|
||||||
|
|
||||||
|
[column]
|
||||||
|
ui = auto
|
||||||
|
|
||||||
|
[branch]
|
||||||
|
sort = -committerdate
|
||||||
|
|
||||||
|
[tag]
|
||||||
|
sort = -version:refname
|
||||||
|
|
||||||
[diff]
|
[diff]
|
||||||
colorMoved = default
|
colorMoved = plain
|
||||||
tool = difftastic
|
tool = difftastic
|
||||||
|
algorithm = histogram
|
||||||
|
mnemonicPrefix = true
|
||||||
|
renames = true
|
||||||
|
|
||||||
[pager]
|
[pager]
|
||||||
difftool = true
|
difftool = true
|
||||||
|
|
||||||
[pull]
|
|
||||||
rebase = true
|
|
||||||
|
|
||||||
[difftool]
|
[difftool]
|
||||||
prompt = false
|
prompt = false
|
||||||
|
|
||||||
|
@ -38,7 +50,22 @@
|
||||||
rebase = true
|
rebase = true
|
||||||
|
|
||||||
[push]
|
[push]
|
||||||
|
default = simple
|
||||||
autoSetupRemote = true
|
autoSetupRemote = true
|
||||||
|
followTags = true
|
||||||
|
|
||||||
|
[fetch]
|
||||||
|
prune = true
|
||||||
|
pruneTags = true
|
||||||
|
all = true
|
||||||
|
|
||||||
|
[rebase]
|
||||||
|
autoSquash = true
|
||||||
|
autoStash = true
|
||||||
|
updateRefs = true
|
||||||
|
|
||||||
|
[merge]
|
||||||
|
conflictstyle = zdiff3
|
||||||
|
|
||||||
[interactive]
|
[interactive]
|
||||||
diffFilter = delta --color-only
|
diffFilter = delta --color-only
|
||||||
|
@ -50,6 +77,11 @@
|
||||||
|
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
|
verbose = true
|
||||||
|
|
||||||
|
[rerere]
|
||||||
|
enabled = true
|
||||||
|
autoupdate = true
|
||||||
|
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
@ -67,3 +99,6 @@
|
||||||
|
|
||||||
[diff "age"]
|
[diff "age"]
|
||||||
textconv = cat
|
textconv = cat
|
||||||
|
|
||||||
|
[help]
|
||||||
|
autocorrect = prompt
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue