Deploying your repository from scratch
If you have a requirement to deploy your entire repository to a server, such as in the case of changing server hosts or repository branches, you can do so when running a new deployment. Under Deployment type, select Full deployment (from scratch).

You will now see The very first commit… in the start commit entry, so just click Deploy to finish, or Preview if you wish to run a preview of the deployment first.