2021-07-13 17:28:26 -04:00
|
|
|
[include]
|
|
|
|
path = ~/.config/git/secret
|
|
|
|
|
|
|
|
[user]
|
|
|
|
email = me@earne.link
|
|
|
|
name = earnest ma
|
2021-07-30 13:07:23 -04:00
|
|
|
signingkey = BF66E5C8A1416E2A857C774CA343F43342EB6E2A
|
2021-07-13 17:28:26 -04:00
|
|
|
|
|
|
|
[core]
|
|
|
|
autocrlf = false
|
|
|
|
quotepath = false
|
|
|
|
commitGraph = true
|
|
|
|
longpaths = true
|
|
|
|
editor = nvim
|
2021-08-25 14:53:51 -04:00
|
|
|
hooksPath = ~/.config/git/hooks
|
2021-07-13 17:28:26 -04:00
|
|
|
|
2021-08-25 15:48:56 -04:00
|
|
|
[diff]
|
|
|
|
tool = bat
|
|
|
|
|
2021-07-13 17:28:26 -04:00
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
|
|
|
|
|
|
|
[commit]
|
|
|
|
gpgsign = true
|
|
|
|
verbose = true
|
|
|
|
|
|
|
|
[fetch]
|
|
|
|
prune = true
|
|
|
|
|
|
|
|
[pull]
|
|
|
|
ff = only
|
|
|
|
|
|
|
|
[push]
|
|
|
|
default = current
|
|
|
|
|
|
|
|
# sudo apt install libsecret-1-0 libsecret-1-dev -y && sudo make --directory=/usr/share/doc/git/contrib/credential/libsecret
|
|
|
|
[credential]
|
|
|
|
helper = /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
|
|
|
|
|
|
|
|
#[sendemail]
|
|
|
|
# smtpserver = mail.example.com
|
|
|
|
# smtpuser =
|
|
|
|
# smtpencryption = tls
|
|
|
|
# smtpserverport = 587
|
|
|
|
# annotate = yes
|
|
|
|
|
|
|
|
[status]
|
|
|
|
submodulesummary = true
|
|
|
|
|
|
|
|
[help]
|
|
|
|
autocorrect = 20
|
|
|
|
|
|
|
|
[gc]
|
|
|
|
writeCommitGraph = true
|
|
|
|
|
|
|
|
[color]
|
|
|
|
ui = true
|
|
|
|
|
|
|
|
[filter "lfs"]
|
|
|
|
clean = git-lfs clean -- %f
|
|
|
|
smudge = git-lfs smudge -- %f
|
|
|
|
process = git-lfs filter-process
|
|
|
|
required = true
|
|
|
|
|
|
|
|
[alias]
|
|
|
|
checkup = !git log -1 && (git fetch --all 2>/dev/null || true) && git status
|
|
|
|
fuckit = reset --hard
|
|
|
|
setup = !git init && git commit --allow-empty -m \"Initial commit\"
|
|
|
|
e = commit --allow-empty-message -m ''
|
|
|
|
br = branch
|
|
|
|
co = checkout
|
|
|
|
ca = commit --amend
|
|
|
|
cd = commit -eF .git/draft
|
|
|
|
ce = commit --allow-empty-message -m ''
|
|
|
|
cm = commit
|
|
|
|
di = diff
|
|
|
|
lg = log
|
|
|
|
mg = merge
|
|
|
|
pu = push
|
|
|
|
pl = pull
|
|
|
|
st = status
|