Header

How do I use .gitignore files within DeployHQ?

If your repository includes a .gitignore file, this will be used by DeployHQ, in the same way as any excluded file rules that have been set within the DeployHQ interface.

However, it is important that the repository doesn't include any of the files mentioned in the .gitignore file, otherwise the files may still be uploaded in scenarios such as where you opt to deploy the entire repository at once.