mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
bf55df15db
Reviewed By: mkonicek Differential Revision: D4276739 Ninja: OSS fbshipit-source-id: 7480a3ee77ed8f6ab0d35f92b43a806bfe29a151
18 lines
705 B
Markdown
18 lines
705 B
Markdown
# React Native Git Upgrade
|
|
|
|
This tool makes upgrading your apps to a new version of React Native easier than the stock `react-native upgrade` command.
|
|
|
|
It uses Git under the hood to automatically resolve merge conflicts in project templates (native iOS and Android files, `.flowconfig` etc.). These conflicts happen when a new React Native version introduces changes to those files and you have local changes in those files too, which is quite common.
|
|
|
|
## Usage
|
|
|
|
See the [Upgrading docs](http://facebook.github.io/react-native/releases/next/docs/upgrading.html) on the React Native website.
|
|
|
|
Basic usage:
|
|
|
|
```
|
|
$ npm install -g react-native-git-upgrade
|
|
$ cd MyReactNativeApp
|
|
$ react-native-git-upgrade
|
|
```
|