Error
Repository is not clean. Please commit or stash any changes before updating
when i have updated from version 7 to Angular 8.
I have tried using mention command for upgrading from angular 8 to angular 9, but was still getting the error.
Then i have tried same command with --force flag and it worked for me.
ng update @angular/cli @angular/core --allow-dirty --force