From 7a1eceaba6620172785899935279fed91e7accd5 Mon Sep 17 00:00:00 2001 From: vetal l Date: Sat, 25 Nov 2023 14:00:17 +0300 Subject: [PATCH] Added script that change default Git behavior on windows systems (#2197) --- tools/git_symlinks.cmd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tools/git_symlinks.cmd diff --git a/tools/git_symlinks.cmd b/tools/git_symlinks.cmd new file mode 100644 index 0000000000..3929258b80 --- /dev/null +++ b/tools/git_symlinks.cmd @@ -0,0 +1,14 @@ +@echo off +echo Attention! You need to enable 'Developer mode' first. +echo Read how to do it here: +echo. +echo https://learn.microsoft.com/en-us/windows/apps/get-started/developer-mode-features-and-debugging +echo. +echo Keep this window open, and enable this feature. Then press any key. +pause >nul +git config --global core.symlinks true +git config --unset core.symlinks +git reset --hard +echo. +echo Now you can follow symlinks in repository. +pause \ No newline at end of file