What is the correct proceure to restore a site to a previous version, using Site History, when the site is under CLI/GitHub control?
I’m using the basic editor for screen layouts. And VS Code+ GItHib for code development
I had a page that got totally corrupted due to a network issue, so I needed to revert to a known position. I used Site a history but then this broke the CLI integration and it took a while before I got them back in sync.
What should I have done?
In respect, that is pretty much the route I followed. When the corruption occurred I was on UI version 7673. I closed down VS Code and the Local Editor and loaded a standard editor so I could get at the Site History. (The Local Editor didn’t allow me to do that saying that I wasn’t the Site Owner. Strange because I am the Site Owner). Then, in SIte History of course I only see those i’ve saved or published, not the UI versions in the Local Editor - it would be nice to have some indication of what they were. I thus restored what I thought was the least far back, entered the Standard Editor to Edit the SIte, and made sure I Saved the page I restored. Closed all that down and re-opened the CLI Local Editor plus VS Code. I then loaded the page in question to ensure the corruption was gone, it was, and then saved the new as UI Version 7681. From then all good. It just seems to me that there should be a less hit or miss approach to doing this, as well as problems of loading different Development Environments. I have put in a couple of feature requests I think could alleviate some of these issues.