Skip to content

Discard changes for a file in namespace but not in local repo should not delete file. Production cls deleted.  #455

Closed
@SRFTInterface

Description

@SRFTInterface

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
image
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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcustomerBased on customer feedback (as opposed to something identified by developers)

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions