Wednesday, June 15, 2011

Hard links vs sym links

Sometimes you are programming and the items you're working on are a subset/extraset of a program that you don't really want to include in your project, especially if the add-on project is being maintained with git or svn or something.

Sometimes your dev and your test are on the same box, so you can hard link the files you're working on in your dev directory and they'll mirror in your test instance. Hard links are better than sym links in this case because you want to distribute the files, not links to files, and you want your live test to not point to your dev copy.

No comments:

Blog Archive