From 3a680e4d867dcb5c32c42d633032947300b66d7e Mon Sep 17 00:00:00 2001 From: John Doty Date: Tue, 14 Jun 2022 05:43:38 -0700 Subject: [PATCH] Split gitconfig so that we can have different tweaks per computer --- .gitconfig | 18 +++++------------- .gitconfig.shared | 11 +++++++++++ 2 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 .gitconfig.shared diff --git a/.gitconfig b/.gitconfig index f0da6ff..f6addf6 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,14 +1,6 @@ [user] - name = John Doty - email = john@d0ty.me -[core] - autocrlf = input -[pretty] - doty = * %C(bold green)%h%Creset -%C(bold white)%d%Creset %s %C(bold)(%cr)%Creset <%aN>%Creset -[format] - pretty = doty -[alias] - st = status - ci = commit -[push] - default = upstream + name = John Doty + email = john@d0ty.me + +[include] + path = .gitconfig.shared \ No newline at end of file diff --git a/.gitconfig.shared b/.gitconfig.shared new file mode 100644 index 0000000..1cc3d4c --- /dev/null +++ b/.gitconfig.shared @@ -0,0 +1,11 @@ +[core] + autocrlf = input +[pretty] + doty = * %C(bold green)%h%Creset -%C(bold white)%d%Creset %s %C(bold)(%cr)%Creset <%aN>%Creset +[format] + pretty = doty +[alias] + st = status + ci = commit +[push] + default = upstream