From 0595bacc3bcd1bda376e82c2e701989b4cbd1fdf Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Thu, 17 Sep 2020 11:55:56 +0000 Subject: [PATCH] Minor corrections to get-the-source-code.md --- .../docs/devguide/getting-started/get-the-source-code.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/content/docs/devguide/getting-started/get-the-source-code.md b/web/content/docs/devguide/getting-started/get-the-source-code.md index 9f5eeaf7d42..23c134afee0 100644 --- a/web/content/docs/devguide/getting-started/get-the-source-code.md +++ b/web/content/docs/devguide/getting-started/get-the-source-code.md @@ -61,6 +61,8 @@ Install [pre-commit](https://pre-commit.com/) (a git hook manager) via Pythons ` pip3 install --user pre-commit ``` +This installed `pre-commit` to `.local/bin` in your home directory or to `C:\Users\[username]\AppData\Roaming\Python\Python37\Scripts` on Windows. Make sure to have this directory in your `PATH`! + Enable the hooks in the source code with: ```bash @@ -68,8 +70,6 @@ cd ogs pre-commit install ``` -For Windows only: This installed `pre-commit` to `.local/bin` (or `C:\Users\[username]\AppData\Roaming\Python\Python37\Scripts` on Windows) in your home directory. Make sure to have this directory in your `PATH`! - ## Optional: Working on a new feature You only have to follow the above steps once. From then on, whenever you want to work on a new feature, you can more easily interact with the remote repositories. -- GitLab