Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/SetupForDevelopment.sh
3138 views
1
#!/usr/bin/env bash
2
3
cd "${BASH_SOURCE%/*}/.." &&
4
Utilities/GitSetup/setup-user && echo &&
5
Utilities/GitSetup/setup-hooks && echo &&
6
Utilities/GitSetup/tips
7
8
# Rebase master by default
9
git config rebase.stat true
10
git config branch.master.rebase true
11
12
# Record the version of this setup so Git/pre-commit can check it.
13
SetupForDevelopment_VERSION=2
14
git config hooks.SetupForDevelopment ${SetupForDevelopment_VERSION}
15
16