Git symbolic links in Windows

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Git symbolic links in Windows

Message par Clippy »

Git symbolic links in Windows
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Git symbolic links in Windows

Message par Clippy »

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 »