This doc describes getting set up to work with git to contribute to this project.
Table of Contents generated with DocToc
- Make sure you have an SSH key and optionally a GPG key added to your GHE profile.
- Optionally, configure git to use your GPG key for commit signing.
Set up your local repository:
-
clone this repo to your system
git clone [email protected]:keegoid-nr/cloudscript.git
-
brew install pre-commit pre-commit -V
-
From inside the repo, update repos defined in
.pre-commit-config.yaml
to latest tags and install the pre-commit git hook:cd cloudscript pre-commit autoupdate pre-commit install -t pre-commit -t pre-push -t prepare-commit-msg
If you encounter any trouble with pre-commit, it is easy to uninstall.
pre-commit uninstall -t pre-commit -t pre-push -t prepare-commit-msg
Before committing changes, check for any customer api, license, or private location keys that may have made their way into your changes from logs or other info the customer sent. If you find any, replace them with [REDACTED].