[git] Move git config to XDG

This commit is contained in:
Andrew Williams
2026-01-07 15:53:17 +00:00
parent 7d54a9f48b
commit 31a189af3a
2 changed files with 1 additions and 1 deletions

61
git/.config/git/config Normal file
View File

@@ -0,0 +1,61 @@
[user]
name = Andrew Williams
email = andy@tensixtyone.com
[core]
excludesfile = ~/.config/git/gitignore_global
[alias]
prune = fetch --prune
co = checkout
rh = reset --hard
dist = "!git archive --format=tar -v --prefix=$(git describe HEAD)/ $(git describe HEAD) | gzip -9 > ../$(git describe HEAD).tar.gz"
[init]
defaultBranch = main
[pull]
ff = only
rebase = true
[column]
ui = auto
[branch]
sort = -committerdate
[tag]
sort = version:refname
[diff]
algorithm = histogram
colorMoved = plain
mnemonicPrefix = true
renames = true
[push]
autoSetupRemote = true
followTags = true
default = simple
[fetch]
all = true
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "ssh://git@github.com/2315-Media"]
insteadOf = "https://github.com/2315-Media"
[include]
path = ~/.gitconfig-gpg
path = ~/.gitconfig-work
path = ~/.gitconfig-local

View File

@@ -0,0 +1,2 @@
.DS_Store
thumbs.db