docs: remove redundant 'set origin' section (#19243)

* docs: fix remote push origin docs

* docs: remove redundant section

the 'git remote' text in the 'Getting the Code' section is better
This commit is contained in:
Charles Kerr 2019-07-15 03:42:11 -05:00 committed by Cheng Zhao
parent f101c72cbe
commit c9bc4aeb90

View file

@ -38,16 +38,6 @@ $ mkdir -p "${GIT_CACHE_PATH}"
# This will use about 16G.
```
> **NOTE**: the git cache will set the `origin` of the `src/electron`
> repository to point to the local cache, instead of the upstream git
> repository. This is undesirable when running `git push`—you probably want to
> push to github, not your local cache. To fix this, from the `src/electron`
> directory, run:
```sh
$ git remote set-url origin https://github.com/electron/electron
```
### sccache
Thousands of files must be compiled to build Chromium and Electron.