From 144335d1bebdd4e0931fd8b09fca2b33dc2a3111 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rimas=20Misevi=C4=8Dius?= Date: Mon, 1 Jul 2019 19:10:21 +0300 Subject: [PATCH] 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 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 439ef7ec8..02288f219 100644 --- a/README.md +++ b/README.md @@ -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):