From b5beaf4e1481632835cc3b53012c15fa356a28ac Mon Sep 17 00:00:00 2001 From: Chloe Kudryavtsev Date: Sun, 22 Dec 2019 13:23:31 -0500 Subject: [git] move to XDG --- dot_config/git/config | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++ dot_gitconfig | 72 --------------------------------------------------- 2 files changed, 72 insertions(+), 72 deletions(-) create mode 100644 dot_config/git/config delete mode 100644 dot_gitconfig diff --git a/dot_config/git/config b/dot_config/git/config new file mode 100644 index 0000000..5fe982a --- /dev/null +++ b/dot_config/git/config @@ -0,0 +1,72 @@ +[alias] + aa = add -A + ap = add -p + bd = branch -D + cs = commit --verbose --gpg-sign + ci = commit --verbose + co = checkout + cb = checkout -b + cp = commit --patch + dc = diff --cached + hr = reset --hard HEAD + last = log -1 --stat + lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %Cblue<%an>%Creset' --abbrev-commit --date=relative --all + pf = push --force + st = status + stat = diff --stat +[apply] + whitespace = warn +[color] + ui = true +[core] + editor = nvim + filemode = false + trustctime = false + whitespace = blank-at-eol,space-before-tab,tab-in-indent,tabwidth=4 +[credential] + helper = cache --timeout=3600 +[help] + autocorrect = 1 +[merge] + tool = vimdiff +[mergetool] + keepbackup = false + keeptemporaries = false + prompt = false +[pager] + stat = false +[pull] + rebase = true +[push] + default = simple +[sendemail] + smtpencryption = tls + smtpserver = mail.toast.cafe + smtpserverport = 587 + smtpuser = toast +[status] + branch = true + short = true +[user] + email = toast@toast.cafe + name = Chloe Kudryavtsev + +[url "git@github.com:5paceToast/"] + insteadOf = "st:" + +[url "https://github.com/"] + insteadOf = "gh:" + +[url "git@gitlab.com:SpaceToast/"] + insteadOf = "lst:" + +[url "https://gitlab.com/"] + insteadOf = "gl:" + +[filter "lfs"] + smudge = git-lfs smudge -- %f + process = git-lfs filter-process + required = true + clean = git-lfs clean -- %f + +# vim: ft=gitconfig diff --git a/dot_gitconfig b/dot_gitconfig deleted file mode 100644 index 5fe982a..0000000 --- a/dot_gitconfig +++ /dev/null @@ -1,72 +0,0 @@ -[alias] - aa = add -A - ap = add -p - bd = branch -D - cs = commit --verbose --gpg-sign - ci = commit --verbose - co = checkout - cb = checkout -b - cp = commit --patch - dc = diff --cached - hr = reset --hard HEAD - last = log -1 --stat - lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %Cblue<%an>%Creset' --abbrev-commit --date=relative --all - pf = push --force - st = status - stat = diff --stat -[apply] - whitespace = warn -[color] - ui = true -[core] - editor = nvim - filemode = false - trustctime = false - whitespace = blank-at-eol,space-before-tab,tab-in-indent,tabwidth=4 -[credential] - helper = cache --timeout=3600 -[help] - autocorrect = 1 -[merge] - tool = vimdiff -[mergetool] - keepbackup = false - keeptemporaries = false - prompt = false -[pager] - stat = false -[pull] - rebase = true -[push] - default = simple -[sendemail] - smtpencryption = tls - smtpserver = mail.toast.cafe - smtpserverport = 587 - smtpuser = toast -[status] - branch = true - short = true -[user] - email = toast@toast.cafe - name = Chloe Kudryavtsev - -[url "git@github.com:5paceToast/"] - insteadOf = "st:" - -[url "https://github.com/"] - insteadOf = "gh:" - -[url "git@gitlab.com:SpaceToast/"] - insteadOf = "lst:" - -[url "https://gitlab.com/"] - insteadOf = "gl:" - -[filter "lfs"] - smudge = git-lfs smudge -- %f - process = git-lfs filter-process - required = true - clean = git-lfs clean -- %f - -# vim: ft=gitconfig -- cgit v1.2.3