From 30d6eb312c13cb1a4c18b6d5db2254917809b201 Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Mon, 25 Dec 2023 14:21:06 -0500 Subject: [PATCH] Added gitconfig and global gitignore --- dot_gitconfig | 88 +++++++++++++++++++++++++++++++++++++++ dot_gitignore_global.tmpl | 4 ++ 2 files changed, 92 insertions(+) create mode 100644 dot_gitconfig create mode 100644 dot_gitignore_global.tmpl diff --git a/dot_gitconfig b/dot_gitconfig new file mode 100644 index 0000000..62a62c0 --- /dev/null +++ b/dot_gitconfig @@ -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 diff --git a/dot_gitignore_global.tmpl b/dot_gitignore_global.tmpl new file mode 100644 index 0000000..e71994f --- /dev/null +++ b/dot_gitignore_global.tmpl @@ -0,0 +1,4 @@ +*~ +.DS_Store +Thumbs.db +unittest.xml