1
0
Fork 0

Fix the mklink command in README.md (#3820)

The `mklink /d` creates a directory symbolic link. As here we need a file symbolic link, the `/d` switch must not be used.

See `mklink` documentation: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mklink
master
Rimas Misevičius 2019-07-01 19:10:21 +03:00 committed by Colin Lee
parent 887102d215
commit 144335d1be
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ ln -s ../../config/pre-push-recommended.sh .git/hooks/pre-push
```
or for Windows run this command with administrative privileges:
```sh
mklink /d .git\hooks\pre-push ..\..\config\pre-push-recommended.sh
mklink .git\hooks\pre-push ..\..\config\pre-push-recommended.sh
```
To push without running the pre-push hook (e.g. doc updates):