Fix VS Code Git Not Detecting Changes After .gitignore Update - Fixing a Detached HEAD State in Visual Studio Code-How to Clear Git Lock File in IntelliJ

Prepare
Execute
Validate
Document
Operational follow-up
- Record the exact option, command, or setting that changed the result.
- Keep a rollback note if the workflow affects shared files or team settings.