I'm using WAMP to develop a small PHP application. I'm also using Cygwin + Oh-My-Zsh to manage my git repository that contains the .html and .php files for the application. My source files exist in a directory outside of the www directory, so I created a hard link via ln to the source files. This appears to work at first, but any changes I make in my working directory are not reflected in the linked files. How do I fix this? I haven't been able to find any information about this particular problem, so any help would be greatly appreciated.
Asked
Active
Viewed 224 times
1
-
FAT or NTFS filesystem? Mind you: hard links are a very poor deployment tool. – Fred Foo Oct 13 '12 at 21:14
-
Is it still a hard link after you make a change? Can you check the inode number with `ls -li` before and after you make a change? – ott-- Oct 13 '12 at 21:46
-
NTFS filesystem on Windows XP. The inode numbers are the same until I do a git reset and revert the file. That seems to be when the link and target become disconnected. Is there a better way to accomplish what I want? – Bobby Vandiver Oct 14 '12 at 14:20