Update git config
1. Sign commits and tags by default 2. Fix formatting in git config 3. Split gitconfig to keep user and key info separate
This commit is contained in:
parent
7f9beecb4b
commit
1aae8be084
|
@ -1,13 +1,12 @@
|
|||
[user]
|
||||
email = git@glfmn.io
|
||||
name = Gwen Lofman
|
||||
[push]
|
||||
default = simple
|
||||
|
||||
[core]
|
||||
editor = "vi"
|
||||
excludesfile = ~/.gitignore_global
|
||||
attributesfile = ~/.gitattributes_global
|
||||
pager = delta --dark
|
||||
|
||||
[filter "lfs"]
|
||||
clean = git-lfs clean -- %f
|
||||
smudge = git-lfs smudge -- %f
|
||||
|
@ -37,7 +36,6 @@ required = true
|
|||
fx = !git fixup
|
||||
# Grab a remote branch and track it
|
||||
get = checkout --track
|
||||
gt = !git get
|
||||
|
||||
# abbreviated commands
|
||||
st = status -sbu
|
||||
|
@ -51,7 +49,7 @@ required = true
|
|||
ap = add -p
|
||||
ps = push
|
||||
pu = pull
|
||||
ds = diff --stat
|
||||
ds = diff --stat
|
||||
dc = diff --cached
|
||||
|
||||
# logging commands
|
||||
|
@ -73,7 +71,15 @@ required = true
|
|||
fll = !git lgl --follow -- # long-format commits
|
||||
fst = !git lst --follow -- # stat-style commits
|
||||
fpa = !git lpa --follow -- # full patch commits
|
||||
|
||||
[commit]
|
||||
verbose = true
|
||||
|
||||
[help]
|
||||
autocorrect = 10
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
[include]
|
||||
path = ~/.gitconfig.user
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
[user]
|
||||
name = Gwen Lofman
|
||||
email = git@glfmn.io
|
||||
signingkey = git@glfmn.io
|
||||
|
||||
[commit]
|
||||
gpgSign = true
|
||||
|
||||
[tag]
|
||||
gpgSign = true
|
Loading…
Reference in New Issue