By default, running a ln -s ...
command in Windows Git Bash just creates a copy of the files instead. I was going crazy thinking that something was weird with Python, but it turned out to be Windows! I'm calling it a bug. Here's how to enable real symbolic links in Windows Git Bash:
- Open Git Bash as an administrator
- Run:
export MSYS=winsymlinks:nativestrict
- Run your
ln -s ...
command as usual