question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Symlinks are false by default and completely ignore the global settings

See original GitHub issue

Description

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 via git 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 it git 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rbellamycommented, Jul 16, 2019

You’ll see that I did not have the proper permissions, so my input was nothing but noise. Sorry about that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does `git clone` override global core.symlinks on Windows?
symlinks configuration option will be set to false . So the first option serves as a mechanism that you can specify if you...
Read more >
git-config Documentation - Git
Opens an editor to modify the specified config file; either --system , --global , or repository (default). Respect include. * directives in config...
Read more >
Changing Global Settings with CLI | Help Center
Learn how to configure global settings of MSP360 (CloudBerry) Backup for macOS using ... -mode, Symlink backup settings, Ignore, SymlinkOnly, CurrentPlace, ...
Read more >
Adding Symlinks into GIT properly | Adobe Experience Manager
The default is true, except git-clone[1] or git-init[1] will probe and set core.symlinks false if appropriate when the repository is created ...
Read more >
How to Create Symbolic Links: A Comprehensive Guide
Symbolic links have lrwxrwxrwx permissions, which are default permissions for symbolic links and cannot be changed. While lrwxrwxrwx permissions ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found