Version control of deployments
Hardhat Ignition creates files for each deployment. The files are stored under the directory ./ignition/deployments/<DeploymentId>. To understand the files created, please read our Deployment artifacts guide.
If you want to store your deployments in version control, the recommended way is committing the entire ./ignition/deployments directory.
Note that if you don’t keep track of your deployments, you won’t be able to extend your executed deployment by modifying your modules, so consider committing them.