diff options
Diffstat (limited to 'Utilities/SetupForDevelopment.sh')
-rwxr-xr-x | Utilities/SetupForDevelopment.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Utilities/SetupForDevelopment.sh b/Utilities/SetupForDevelopment.sh new file mode 100755 index 0000000000..ff64a84028 --- /dev/null +++ b/Utilities/SetupForDevelopment.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +cd "${BASH_SOURCE%/*}/.." && +Utilities/GitSetup/setup-user && echo && +Utilities/GitSetup/setup-hooks && echo && +Utilities/GitSetup/tips + +# Rebase master by default +git config rebase.stat true +git config branch.master.rebase true + +# Record the version of this setup so Git/pre-commit can check it. +SetupForDevelopment_VERSION=2 +git config hooks.SetupForDevelopment ${SetupForDevelopment_VERSION} |