Fix yarn command in git upgrade blog post

Summary:
The yarn global add needs to have global before add, it will otherwise just install in in the local project together with the global package.

https://yarnpkg.com/en/docs/cli/global
Closes https://github.com/facebook/react-native/pull/11364

Differential Revision: D4299909

Pulled By: ericnakagawa

fbshipit-source-id: 7b3a7817d2b1105003b9d48d16cf64756bfa51d5
This commit is contained in:
Jeremi Stadler 2016-12-08 10:22:00 -08:00 committed by Facebook Github Bot
parent cfb8b19126
commit b775f88636
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ $ npm install -g react-native-git-upgrade
or, using [Yarn](https://yarnpkg.com/):
```shell
$ yarn add global react-native-git-upgrade
$ yarn global add react-native-git-upgrade
```
Then, run it inside your project directory: