I've done some ALTER changes in the database then I performed the scaffold command to update my model as follows: Scaffold-DbContext "Server=localhost;Database=<DB_NAME>;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models\Domain -Force -Project <PROJECT_NAME>
.
When I check the model in my project I can see the change in code but files are marked as unchanged in the source control so I have to check-out all updated classes myself.
Is there a way to make the scaffold action auto check-out changes in file?