Error
Repository is not clean. Please commit or stash any changes before updating
when i have updated from version 7 to Angular 8.
First, Check if there are any changes in your code that haven't pushed to git if yes push them, then close the old instance(cmd) and open a new instance of cmd then run the command. This worked for me, Thanks