mirror of
https://github.com/nikdoof/dotfiles.git
synced 2026-01-30 10:58:14 +00:00
[git] Move git config to XDG
This commit is contained in:
61
git/.config/git/config
Normal file
61
git/.config/git/config
Normal 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
|
||||
2
git/.config/git/gitignore_global
Normal file
2
git/.config/git/gitignore_global
Normal file
@@ -0,0 +1,2 @@
|
||||
.DS_Store
|
||||
thumbs.db
|
||||
Reference in New Issue
Block a user