I am in the git root folder whose absolute path is /path/project/ . Folder structure:
/path/project ---- libs/alib (actual library folder) ---- exec/alib_link (symbolic link to the actual alib folder)
I can remove the symlink with git rm using the relative path: git rm exec/alib_link
But using an absolute path causes git to try to delete the original folder instead
git rm /path/project/alib_link fatal: not removing /path/project/libs/alib recursively without -r
How can I get git to remove a symlink using an absolute path without forcing it to try to delete my source directory?
source share