I have a windows 7 host system where I want to use a vagrant VM with the LAMP stack scotch box. The project repository requires symlinks (*) which get changed directly after i clone the repository via ssh.
- I am cloning the repository (on guest) after connecting via
vagrant ssh
- The repository gets cloned into the shared folder (this seems to be the problem)
- After that,
git status
(on guest) says all my symlinks have been modified
I already checked my git configurations and changed it as proposed in answers from this question. Nothing helped.
However, when I clone the repository into an other, not shared VM folder, there are no file changes at all.
So how can I prevent that files change in the shared folder? (i'm afraid removing symlinks is not possible...)
Edit: Example for a changed symlink
git diff script/zend
echoes:
diff --git a/script/zend b/script/zend
--- a/script/zend
--- b/script/zend
@@ -1 +0,0 @@
-../source/solar/script/solar
\ No newline at end of file
(*) As symlinks are not allowed by default I changed my vagrant file as explained in this answer.