cmake/Utilities/SetupForDevelopment.sh

15 lines
416 B
Bash
Raw Normal View History

2012-06-27 20:52:58 +03:00
#!/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
2017-04-14 19:02:05 +02:00
# Record the version of this setup so Git/pre-commit can check it.
2017-07-20 19:35:53 +02:00
SetupForDevelopment_VERSION=2
2017-04-14 19:02:05 +02:00
git config hooks.SetupForDevelopment ${SetupForDevelopment_VERSION}