Chromium Code Reviews| Index: README.md |
| diff --git a/README.md b/README.md |
| index cbab52e25ad1bedb4f227ce98dc3efb9b4668cc6..618b3bde08bb6fb0bec90be6a2b776c779b5ef79 100644 |
| --- a/README.md |
| +++ b/README.md |
| @@ -61,6 +61,22 @@ Pull down all of the packages with this command: |
| $ gclient sync |
| ``` |
| +## Update your checkout |
| + |
| +You can update your checkout like this. The order is important. You must do the |
| +`git pull` first because `gclient sync` is dependent on the current revision. |
| + |
| +``` |
| +# Fetch changes from upstream and rebase the current branch on top |
| +$ git pull --rebase |
|
etiennej
2015/11/02 13:59:39
Rebase being optional, do we want to mention it he
ppi
2015/11/02 14:09:15
What happens when you have local changes on the br
etiennej
2015/11/02 14:26:10
Acknowledged following offline discussion.
|
| +# Update all modules as directed by the DEPS file |
| +$ gclient sync |
| +``` |
| + |
| +You do not need to rerun `gn gen out/Debug` - ninja does so automatically each |
| +time you build. You might need to rerun `mojo/tools/mojob.py gn` if the GN |
| +flags have changed. |
| + |
| ## <a name="buildmojo"></a>Build Mojo |
| ### Linux |
| @@ -145,21 +161,6 @@ Official builds for android generate a signed Mojo Shell intended for |
| distribution. You normally should not need to produce one. If you have any |
| questions, reach out to [etiennej@chromium.org](mailto:etiennej@chromium.org). |
| -## Update your checkout |
| - |
| -You can update your checkout like this. The order is important. You must do the |
| -`git pull` first because `gclient sync` is dependent on the current revision. |
| -``` |
| -# Fetch changes from upstream and rebase the current branch on top |
| -$ git pull --rebase |
| -# Update all modules as directed by the DEPS file |
| -$ gclient sync |
| -``` |
| - |
| -You do not need to rerun `gn gen out/Debug` - ninja does so automatically each |
| -time you build. You might need to rerun `mojo/tools/mojob.py gn` if the GN |
| -flags have changed. |
| - |
| ## Run Mojo Shell |
| Devtools `mojo_run` is a universal shell runner abstracting away the differences |