Added gitconfig and global gitignore

This commit is contained in:
Eric Renfro 2023-12-25 14:21:06 -05:00
parent ce3a0e5c01
commit 30d6eb312c
Signed by: psi-jack
SSH key fingerprint: SHA256:1TKB8Z257L8EHK8GWNxKgMhD8a+FAR+f+j3nnlcuNVM
2 changed files with 92 additions and 0 deletions

88
dot_gitconfig Normal file
View file

@ -0,0 +1,88 @@
[user]
name = Eric Renfro
email = psi-jack@linux-help.org
#signingkey = 25787986B19167B89BFF55CF3159FF4CB13EBFB4
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILOOehoX8okqwKyFj4ozRODK0tIb3aeHlYC9re1/3IbC Eric Renfro (Home/ed25519)
[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

View file

@ -0,0 +1,4 @@
*~
.DS_Store
Thumbs.db
unittest.xml