Error
Repository is not clean. Please commit or stash any changes before updating
when i have updated from version 7 to Angular 8.
I've had the same issue. It's a common bug in Angular 8. Simply you can use dirty commands to bypass the repo check, such as (if u really need to bypass this, follow force commands)
ng update @angular/cli @angular/core --allow-dirty or
ng update @angular/cli @angular/core --allow-dirty --force
but, I didn't do that. I followed following steps...
first of all double check whether you are commited all the changes before the update.then keep a copy of the project to the same location and commit the copy also to the Git. then run following command from the original project directory
ng update @angular/core@8 @angular/cli@8
afterwards u can delete the copy. This worked for me! thank you!