Is there a way to go back in time a create a deploy preview from a specific GitHub commit hash? I’d like to see how my site looked before I had automatic previews generated.
Nope. Some ways to get that content into netlify though:
- create a branch from a checkout of that commit, we’ll build the branch on your current site if you configure us to.
- checkout that commit locally, build, and deploy via our CLI: Get started with Netlify CLI | Netlify Docs
- lock deploys - (we won’t publish at your prod URL), revert to that commit, push to build, the preview will be generated but not put live, and you can browse from the “preview this deploy ->” link near the top of its logs page. Then revert the reversion, unlock deploys, and carry on.
Thanks! I’ll try on one of those.