mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-26 08:06:09 +01:00
added pre-commit section to readme
This commit is contained in:
@@ -17,3 +17,11 @@ code --install-extension rebornix.project-snippets
|
||||
# debugging with chrome browser
|
||||
code --install-extension msjsdiag.debugger-for-chrome
|
||||
```
|
||||
|
||||
## Install pre-commit hook
|
||||
|
||||
```bash
|
||||
echo "" >> .hg/hgrc
|
||||
echo "[hooks]" >> .hg/hgrc
|
||||
echo "pre-commit = cd scm-ui && yarn run pre-commit" >> .hg/hgrc
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user