Skip to content

Commit db80d6c

Browse files
committed
docs: remove instructions using ng update
`ng update` has been removed in #4628. Close #4771
1 parent 5663a57 commit db80d6c

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

README.md

-7
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,8 @@ Local project package:
114114
rm -rf node_modules dist # use rmdir on Windows
115115
npm install --save-dev @angular/cli@latest
116116
npm install
117-
ng update
118117
```
119118

120-
Running `ng update` will check for changes in all the auto-generated files created by `ng new` and allow you to update yours. You are offered four choices for each changed file: `y` (overwrite), `n` (don't overwrite), `d` (show diff between your file and the updated file) and `h` (help).
121-
122-
Carefully read the diffs for each code file, and either accept the changes or incorporate them manually after `ng update` finishes.
123-
124-
**The main cause of errors after an update is failing to incorporate these updates into your code**.
125-
126119
You can find more details about changes between versions in [CHANGELOG.md](https://github.com/angular/angular-cli/blob/master/CHANGELOG.md).
127120

128121

docs/documentation/overview.md

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ End-to-end tests are run via [Protractor](https://angular.github.io/protractor/)
4444

4545
### Additional Commands
4646
* [ng new](new)
47-
* [ng update](update)
4847
* [ng serve](serve)
4948
* [ng generate](generate)
5049
* [ng test](test)

0 commit comments

Comments
 (0)