Deploy has the ability to explicitly exclude files from your repository based on a file pattern match.
It's now possible to specify these on a per-server basis, so for example if you need to Deploy your repository to a server that doesn't require database access, you can exclude your database config from that server.
If you have any questions, please don't hesitate to get in touch.