my_chezmoi/dot_gitconfig.tmpl

90 lines
2.2 KiB
Cheetah
Raw Normal View History

2023-12-25 14:21:06 -05:00
[user]
name = {{ .name }}
email = {{ .email }}
2023-12-25 14:21:06 -05:00
#signingkey = 25787986B19167B89BFF55CF3159FF4CB13EBFB4
#signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILOOehoX8okqwKyFj4ozRODK0tIb3aeHlYC9re1/3IbC Eric Renfro (Home/ed25519)
signingkey = {{ .ssh }}
2023-12-25 14:21:06 -05:00
[gpg]
#program = gpg2
format = ssh
[format]
signOff = true
[core]
editor = micro
pager = less -r
[commit]
gpgsign = true
[merge]
ff = only
[pull]
rebase = true
[status]
submoduleSummary = false
[tag]
forceSignAnnotated = true
[init]
defaultBranch = main
[sendemail]
smtpencryption = tls
smtpserver = smtp.linux-help.org
smtpuser = psi-jack@linux-help.org
smtpserverport = 587
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[url "ssh://git@github.com"]
pushInsteadOf = https://github.com
[url "ssh://git@git.linux-help.org"]
pushInsteadOf = https://git.linux-help.org
[color]
ui = true
[credential]
#helper = /usr/lib/git/git-core/git-credential-store
#helper = /usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring
#helper = /usr/libexec/git-core/git-credential-libsecret
helper = /usr/lib/git-core/git-credential-libsecret
#helper = libsecret
[alias]
up = !git pull --prune $@ && git submodule update --init --recursive
a = add
ap = add -p
amc = am --continue
b = branch
bm = branch --merged
bnm = branch --no-merged
c = commit
cl = clone
ca = commit --amend
cane = commit --amend --no-edit
cf = commit --fixup
cm = commit --message
co = checkout
cob = checkout -b
com = checkout master
cp = cherry-pick
d = diff
dc = diff --cached
dom = diff origin/master
fo = fetch origin
g = grep --line-number
mbhom = merge-base HEAD origin/master
mff = merge --ff-only
ol = log --pretty=oneline
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
pu = push
puf = push --force
pl = pull --rebase --autostash
r = restore
ra = rebase --abort
rc = rebase --continue
ri = rebase --interactive
rl = reflog
riom = rebase --interactive origin/master
rpo = remote prune origin
s = status -sb
ss = commit --message snapshot --no-gpg-sign
su = submodule update
wd = diff --patience --word-diff