Brad's suggestion is the correct way to do it, I believe.
The advantage of a .gitattributes file is that you can add it to the repository (like .gitignore). I don't think you can set up a pre-commit hook so that it's copied when the repository is cloned.
-- Best regards, Vladimir mailto:vladi...@thecybershadow.net