Skip to content

Commit

Permalink
Update docs git #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludee committed Aug 23, 2023
1 parent 5b7dd24 commit 0fc9ce1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/development/git/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,12 @@ All commits will trigger the hooks automatically.<br>
Commit without running the hooks.<br>
💠 `git commit --no-verify file` to commit without hooks

!!! Note

!!! Note "file endings"
There can be problems with file line endings on Windows, `CRLF` is used on Windows and `LF` is used on Linux.

To run the hooks on all files in your repository use:<br>
💻 `pre-commit run --all-files`

!!! Warning

!!! Warning "markdown files"
If the hook is applied to markdown files that include special formatting,
(e.g. `mkdocs.yml`), this can introduce incorrect changes.

0 comments on commit 0fc9ce1

Please sign in to comment.