I did an ln -s file1 file2 in gitbash.
when I did an ls -l file2 it did not have an "s" in it.
When I did "stat" on each file, there were different inodes.
I was wondering whether "ln -s" (symbolic links) do not work on git bash in Windows 7?
Solved! Solved! Go to Solution.
This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information.
As you’ll notice, your Topic is now in the How to use Git and GitHub board. No action is needed on your part; you can continue the conversation as normal here.
Let me know if you have any other questions or if I can help with anything else.
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!
You can set this in the config file for git for windows. By default, this is located at `C:\ProgramData\Git\config`.
Find the `[core]` section and add `symlinks = true` to turn it on.
Hm, I have `symlinks=true`, but `ln -s largeFolder shortcut` just starts to make full copy...
$ cat /c/ProgramData/Git/config
symlinks = true
$ echo Orig > 1 $ ln -s 1 2 $ cat 2 Orig $ echo Modified > 2 $ head 1 2 ==> 1 <== Orig ==> 2 <== Modified