Home > OS >  How to add a Lock sign to .cs in Visual Studio?
How to add a Lock sign to .cs in Visual Studio?

Time:11-28

I forked a CrossFilePicker from github and added a new implementation that doesn't have a lock sign to the left of it, It feels like my file doesn't follow the project "implementation-lock" convention, is there a way to add it?

enter image description here

CodePudding user response:

A lock icon simply means your file is checked in, i.e. no change to that file compared to the HEAD:

enter image description here

If you add/delete/modify a file, the icon would change to reflect that. If you want a lock, stage that file and make a commit.

  • Related