2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-09 19:10:42 +00:00

For #2914: Add Windows pre-push command on README (#2915)

This commit is contained in:
Isaak Eriksson 2019-05-29 19:29:35 +02:00 committed by Colin Lee
parent 39df4c8522
commit 9617a06232

View File

@ -45,10 +45,14 @@ recommend you use our provided pre-push hook in `config/pre-push-recommended.sh`
Using this hook will guarantee your hook gets updated as the repository changes. Using this hook will guarantee your hook gets updated as the repository changes.
This hook tries to run as much as possible without taking too much time. This hook tries to run as much as possible without taking too much time.
To add it, run this command from the project root: To add it on Mac/Linux, run this command from the project root:
```sh ```sh
ln -s ../../config/pre-push-recommended.sh .git/hooks/pre-push ln -s ../../config/pre-push-recommended.sh .git/hooks/pre-push
``` ```
or for Windows run this command with administrative priveleges:
```sh
mklink /d .git\hooks\pre-push ..\..\config\pre-push-recommended.sh
```
To push without running the pre-push hook (e.g. doc updates): To push without running the pre-push hook (e.g. doc updates):
```sh ```sh