Repository is not clean. Please commit or stash any changes before updating In Angular 8

前端 未结 7 611
一生所求
一生所求 2021-01-31 00:49

Error

Repository is not clean. Please commit or stash any changes before updating

when i have updated from version 7 to Angular 8.

7条回答
  •  北恋
    北恋 (楼主)
    2021-01-31 01:28

    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

提交回复
热议问题