'Does updating a submodule also update the symlink that points to it?

I have a Submodule, let's call it x. And in the repo I have a file which is a symlink, y that points to x. Let's say I update x to a newer commit, can I leave y as is or will the symlink point to the older x commit?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source