Git config updates

This commit is contained in:
2021-06-17 16:22:17 -05:00
parent 84573c1f70
commit 9da41d8cb0
6 changed files with 48 additions and 2 deletions

28
gitconfig Normal file
View File

@ -0,0 +1,28 @@
[init]
defaultBranch = main
templatedir = ~/.git_template
[push]
default = current
[color]
ui = auto
[alias]
aa = add --all
ap = add --patch
branches = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
ci = commit -v
co = checkout
pf = push --force-with-lease
st = status
[user]
email = daniel.eric.lynn@gmail.com
name = Daniel Lynn
[url "git@github.com:"]
insteadOf = https://github.com
[core]
excludesfile = ~/.gitignore
[fetch]
prune = true
[rebase]
autosquash = true
[diff]
colorMoved = zebra