CMake/Utilities/SetupForDevelopment.sh
Brad King 6cd3079ce8 SetupForDevelopment: Drop cmake.org remote repo configuration
We no longer push directly to cmake.org repositories.  Changes now
go through https://gitlab.kitware.com/cmake/cmake for integration.
2017-03-03 13:31:49 -05:00

15 lines
416 B
Bash
Executable File

#!/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}