angular how to commit any changes 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