Skip to content

Commit

Permalink
docs: document pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
luishfonseca committed Sep 27, 2023
1 parent ce5cf4d commit b9647dc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/pages/1_getting_started/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ from the root directory of the repository:
git submodule update --init --recursive
```

### Formatting

To contribute you must ensure your code is correctly formatted. Install
`clang-format` and run the following command to enable the pre-commit hook:

```bash
git config --local include.path ../.gitconfig
```

### Compiling

If you chose to install some dependencies separately, you must pass the
Expand Down

0 comments on commit b9647dc

Please sign in to comment.