Git symbolic links in Windows

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Git symbolic links in Windows

Message par ForumBot »

Git symbolic links in Windows
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Git symbolic links in Windows

Message par ForumBot »

You can find the symlinks by looking for files that have a mode of `120000`, possibly with this command:

```
git ls-files -s | awk '/120000/{print $4}'

```

Once you replace the links, I would recommend marking them as unchanged with `git update-index --assume-unchanged`, rather than listing them in `.git/info/exclude`.
Répondre

Revenir à « GitHub Copilot »