Skip to content

Commit

Permalink
docs: remove instructions using ng update
Browse files Browse the repository at this point in the history
`ng update` has been removed in #4628.

Close #4771
  • Loading branch information
filipesilva committed Feb 17, 2017
1 parent 5663a57 commit db80d6c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,8 @@ Local project package:
rm -rf node_modules dist # use rmdir on Windows
npm install --save-dev @angular/cli@latest
npm install
ng update
```

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).

Carefully read the diffs for each code file, and either accept the changes or incorporate them manually after `ng update` finishes.

**The main cause of errors after an update is failing to incorporate these updates into your code**.

You can find more details about changes between versions in [CHANGELOG.md](https://github.com/angular/angular-cli/blob/master/CHANGELOG.md).


Expand Down
1 change: 0 additions & 1 deletion docs/documentation/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ End-to-end tests are run via [Protractor](https://angular.github.io/protractor/)

### Additional Commands
* [ng new](new)
* [ng update](update)
* [ng serve](serve)
* [ng generate](generate)
* [ng test](test)
Expand Down

0 comments on commit db80d6c

Please sign in to comment.