I have a git project which has a subdirectory at /application/assets, and a symlink pointing to it at /assets
"assets" is in the .gitignore file in the root directory, but about one in three times, when I "git pull" on production, the symlink is overwritten with the path of my development environment.
What can I do to make sure git always ignores that symlink? Or is there a way to make it always point to a relative path (application/assets) instead of the full path on my dev machine?