I use Git v2.26.2
on Windows 10 and git status
to check my directory status. During the compilation of my application, a tool created a junction in my directory which is fine. But git status
returns no changes to the directory.
How can I make git status
or git clean
aware of the existence of any link or junction that doesn't belong to the repo?
P.S. git clean -xdf
doesn't remove the junction either
联结将被视为不向Git注册的空存储库。
a true directory symlink, with a Git for Windows enabling symlinks, would record a file with the destination path in it.
(
git config core.symlinks true
)