mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 09:35:48 +00:00
f0490d67ff
Reviewed By: mkonicek Differential Revision: D4276644 Ninja: OSS only fbshipit-source-id: 7bed331770d06addedf51e2ed09d0b9bde5b45ad
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 situation.
Usage
See the Upgrading docs on the React Native website.
Simplest use case:
$ npm install -g react-native-git-upgrade
$ cd MyReactNativeApp
$ react-native-git-upgrade