git bash symbolic links on windows #23591
-
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? |
Beta Was this translation helpful? Give feedback.
Replies: 15 comments 3 replies
-
Hi @bistritapcv, 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. Cheers! |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, no one has answered. |
Beta Was this translation helpful? Give feedback.
-
Symbolic links on Git Bash for Windows needs to be enabled when you install it |
Beta Was this translation helpful? Give feedback.
-
how to get it enabled after its installed |
Beta Was this translation helpful? Give feedback.
-
I would just reinstall gitbash, quick and easy! |
Beta Was this translation helpful? Give feedback.
-
You can set this in the config file for git for windows. By default, this is located at Find the |
Beta Was this translation helpful? Give feedback.
-
Hm, I have
|
Beta Was this translation helpful? Give feedback.
-
This answer worked for me: |
Beta Was this translation helpful? Give feedback.
-
That did it!
|
Beta Was this translation helpful? Give feedback.
-
If you enable “Developer mode” in the Windows 10 settings you don’t have to run the shell as Admin. |
Beta Was this translation helpful? Give feedback.
-
That is, run Git Bash as admin, run the command |
Beta Was this translation helpful? Give feedback.
-
I can confirm You don’t need to be admin, just configure the |
Beta Was this translation helpful? Give feedback.
-
Before clone the repository you can set the config:
|
Beta Was this translation helpful? Give feedback.
-
If you add the See Setting the path and variables in Windows Variable name = Now every time you open your bash shell, the setting will be there. |
Beta Was this translation helpful? Give feedback.
-
Jesus. Took me like 30 minutes to figure out the inconsistencies I was facing was because |
Beta Was this translation helpful? Give feedback.
Symbolic links on Git Bash for Windows needs to be enabled when you install it