-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added script that change default Git behavior on windows systems (#2197)
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |