Description
On Preprod was setting up all classes to Git excluding the production cls file as this causes too much pain of stopping starting components and this change being locked.
Git Azure repo copied and blank
Realised adding frontend it was adding in the production class
Hadn't yet added the class to git ignore
File picked up by git
Discard changes clicked
Production still running but production class gone
Discarding a change that is in production but not in local repo should not delete the file.
Or warning places when clicking discard changes in a scenario where it may fully delete the file
A level of temporary file for discarded changes would also be nice but is fair enough that is not how git works- unfortunate as was done by the GIT Web front end cannot recover like in VS code