SetupForDevelopment.sh 416 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. cd "${BASH_SOURCE%/*}/.." &&
  3. Utilities/GitSetup/setup-user && echo &&
  4. Utilities/GitSetup/setup-hooks && echo &&
  5. Utilities/GitSetup/tips
  6. # Rebase master by default
  7. git config rebase.stat true
  8. git config branch.master.rebase true
  9. # Record the version of this setup so Git/pre-commit can check it.
  10. SetupForDevelopment_VERSION=2
  11. git config hooks.SetupForDevelopment ${SetupForDevelopment_VERSION}