From f66f4a1b3fa173c96e3ca099d83cdc6acd8df98b Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 6 Jul 2020 17:41:00 -0700 Subject: [PATCH] build: adding shared .ng-dev/gitconfig file for convenience and consistent git config (#37951) This file is inert unless it's explicitly included into the local git config via: ``` git config --add include.path '../.ng-dev/gitconfig' ``` Calling that command will append the following into `.git/config` of the current git workspace (i.e. $GIT_DIR, typically `angular/.git/config`): ``` [include] path = ../.ng-dev/gitconfig ``` I'm intentionally keeping the config inert for now until we prove that this is a good idea. Eventually we could roll this change out to all the contributors via an npm post-install script. PR Close #37951 --- .ng-dev/gitconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .ng-dev/gitconfig diff --git a/.ng-dev/gitconfig b/.ng-dev/gitconfig new file mode 100644 index 0000000000..ef215936ef --- /dev/null +++ b/.ng-dev/gitconfig @@ -0,0 +1,15 @@ +# The file is inert unless it's explicitly included into the local git config via: +# +# ``` +# git config --add include.path '../.ng-dev/gitconfig' +# ``` +# +# Calling that command will append the following into `.git/config` of the current git workspace +# (i.e. $GIT_DIR, typically `angular/.git/config`): +# +# ``` +# [include] +# path = ../.ng-dev/gitconfig +# ``` +[commit] + template = .gitmessage