angular 10 Repository is not clean. Please commit or stash any changes before updating. code example
Example 1: ng update repository not clean
ng update @angular/cdk @angular/cli @angular/core rxjs --allow-dirty
Example 2: Repository is not clean. Please commit or stash any changes before updating.
--allow-dirty