Symlinks are false by default and completely ignore the global settings
See original GitHub issueDescription
I was cloning a repository using github-desktop and for the code in it I had to turn turn the git config core.symlinks
to true, I set it up to true through git and then cloned the repo using github-dektop after cloning when I rechecked git config core.symlinks
it showed false inside the cloned repo, which made the cloned repo full of errors. I don’t know why the global settings of git for symlinks is not synced to github-desktop also it seems like their is no likely option to switch it.
I had to then clone it again using git clone
.
Version
- GitHub Desktop: 1.5.0
- Operating system: Windows 10
Steps to Reproduce
Clone any project that requires symlinks to be enabled to true via GitHub dekstop, their is no option on the desktop app to check the status of symlink, when you change to git bash and their you set the symlink to true globally with the command
git config --global core.symlink true
and verify it viagit config core.symlink
you will get it true in git bash, but now again if you use GitHub desktop to install the project their is no indication that the symlinks are false in their and after cloning via desktop app when you open the cloned repo inside itgit config core.symlink
you get false while if you had cloned it via gitbash it would return true.
Expected Behavior
The expected output would be it should check whether or not the symlinks are enabled or disabled before cloning a project.
Actual Behavior
The desktop app keeps the symlinks disabled despite the change in configurations done through git bash.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top GitHub Comments
You’ll see that I did not have the proper permissions, so my input was nothing but noise. Sorry about that.
See https://github.com/git-for-windows/git/issues/2262