-
Notifications
You must be signed in to change notification settings - Fork 24.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable git hooks for the upgrade process
Summary: I'm loving `react-native-git-upgrade`, such a life and time saver, but when doing the upgrade, if git hooks are defined globally to be applied, `react-native-git-upgrade` uses these git hooks, although they might not be relevant to the upgrade process (and potentially make it way longer). Btw, thanks ncuillery for the great tool 😄 To test, I : * cloned my project * upgraded it with the npm published `react-native-git-upgrade` version : Git hooks are running during the upgrade * cloned the `react-native` repo * did my modifications on the `react-native-git-upgrade/cliEntry.js` file * `npm i -g react-native-git-upgrade/` after running `yarn` in that folder * Re-cloned my project in another folder * Upgraded it with `react-native-git-upgrade` : The hooks are not running anymore, yay! [CLI] [ENHANCEMENT] [react-native/react-native-git-upgrade] - Do not run git hooks in the upgrade process I plan to add an option to the cli so you can pass `--verify` or `--use-git-hooks` if you DO want your git hooks to run, but don't have the time right now and I think the default should be to not run them. Closes #16855 Differential Revision: D6353781 Pulled By: hramos fbshipit-source-id: e4b0f55d10c37bc805b32cb4c0fe3c863346482d
- v0.78.0
- v0.78.0-rc.5
- v0.78.0-rc.4
- v0.78.0-rc.3
- v0.78.0-rc.2
- v0.78.0-rc.1
- v0.78.0-rc.0
- v0.77.1
- v0.77.0
- v0.77.0-rc.7
- v0.77.0-rc.6
- v0.77.0-rc.5
- v0.77.0-rc.4
- v0.77.0-rc.3
- v0.77.0-rc.2
- v0.77.0-rc.1
- v0.77.0-rc.0
- v0.76.7
- v0.76.6
- v0.76.5
- v0.76.4
- v0.76.3
- v0.76.2
- v0.76.1
- v0.76.0
- v0.76.0-rc.6
- v0.76.0-rc.5
- v0.76.0-rc.4
- v0.76.0-rc.3
- v0.76.0-rc.2
- v0.76.0-rc.1
- v0.76.0-rc.0
- v0.75.5
- v0.75.4
- v0.75.3
- v0.75.2
- v0.75.1
- v0.75.0
- v0.75.0-rc.7
- v0.75.0-rc.6
- v0.75.0-rc.5
- v0.75.0-rc.4
- v0.75.0-rc.3
- v0.75.0-rc.2
- v0.75.0-rc.1
- v0.75.0-rc.0
- v0.74.7
- v0.74.6
- v0.74.5
- v0.74.4
- v0.74.3
- v0.74.2
- v0.74.1
- v0.74.1-rc.0
- v0.74.0
- v0.74.0-rc.9
- v0.74.0-rc.8
- v0.74.0-rc.7
- v0.74.0-rc.6
- v0.74.0-rc.5
- v0.74.0-rc.4
- v0.74.0-rc.3
- v0.74.0-rc.2
- v0.74.0-rc.1
- v0.74.0-rc.0
- v0.73.11
- v0.73.10
- v0.73.9
- v0.73.8
- v0.73.7
- v0.73.6
- v0.73.5
- v0.73.4
- v0.73.3
- v0.73.2
- v0.73.1
- v0.73.0
- v0.73.0-rc.8
- v0.73.0-rc.7
- v0.73.0-rc.6
- v0.73.0-rc.5
- v0.73.0-rc.4
- v0.73.0-rc.3
- v0.73.0-rc.2
- v0.73.0-rc.1
- v0.73.0-rc.0
- v0.72.17
- v0.72.16
- v0.72.15
- v0.72.14
- v0.72.13
- v0.72.12
- v0.72.11
- v0.72.10
- v0.72.9
- v0.72.8
- v0.72.7
- v0.72.6
- v0.72.5
- v0.72.4
- v0.72.3
- v0.72.2
- v0.72.1
- v0.72.0
- v0.72.0-rc.6
- v0.72.0-rc.5
- v0.72.0-rc.4
- v0.72.0-rc.3
- v0.72.0-rc.2
- v0.72.0-rc.1
- v0.72.0-rc.0
- v0.71.19
- v0.71.18
- v0.71.17
- v0.71.16
- v0.71.15
- v0.71.14
- v0.71.13
- v0.71.12
- v0.71.11
- v0.71.10
- v0.71.9
- v0.71.8
- v0.71.7
- v0.71.6
- v0.71.5
- v0.71.4
- v0.71.3
- v0.71.2
- v0.71.1
- v0.71.0
- v0.71.0-rc.6
- v0.71.0-rc.5
- v0.71.0-rc.4
- v0.71.0-rc.3
- v0.71.0-rc.2
- v0.71.0-rc.1
- v0.71.0-rc.0
- v0.70.15
- v0.70.14
- v0.70.13
- v0.70.12
- v0.70.11
- v0.70.10
- v0.70.9
- v0.70.8
- v0.70.7
- v0.70.6
- v0.70.5
- v0.70.4
- v0.70.3
- v0.70.2
- v0.70.1
- v0.70.0
- v0.70.0-rc.4
- v0.70.0-rc.3
- v0.70.0-rc.2
- v0.70.0-rc.1
- v0.70.0-rc.0
- v0.69.12
- v0.69.11
- v0.69.10
- v0.69.9
- v0.69.8
- v0.69.7
- v0.69.6
- v0.69.5
- v0.69.4
- v0.69.3
- v0.69.2
- v0.69.1
- v0.69.0
- v0.69.0-rc.6
- v0.69.0-rc.5
- v0.69.0-rc.4
- v0.69.0-rc.3
- v0.69.0-rc.2
- v0.69.0-rc.1
- v0.69.0-rc.0
- v0.68.7
- v0.68.6
- v0.68.5
- v0.68.4
- v0.68.3
- v0.68.2
- v0.68.1
- v0.68.0
- v0.68.0-rc.4
- v0.68.0-rc.3
- v0.68.0-rc.2
- v0.68.0-rc.1
- v0.68.0-rc.0
- v0.67.5
- v0.67.4
- v0.67.3
- v0.67.2
- v0.67.1
- v0.67.0
- v0.67.0-rc.6
- v0.67.0-rc.5
- v0.67.0-rc.4
- v0.67.0-rc.3
- v0.67.0-rc.2
- v0.67.0-rc.1
- v0.67.0-rc.0
- v0.66.5
- v0.66.4
- v0.66.3
- v0.66.2
- v0.66.1
- v0.66.0
- v0.66.0-rc.4
- v0.66.0-rc.3
- v0.66.0-rc.2
- v0.66.0-rc.1
- v0.66.0-rc.0
- v0.65.3
- v0.65.2
- v0.65.1
- v0.65.0
- v0.65.0-rc.4
- v0.65.0-rc.3
- v0.65.0-rc.2
- v0.65.0-rc.1
- v0.65.0-rc.0
- v0.64.4
- v0.64.3
- v0.64.2
- v0.64.1
- v0.64.0
- v0.64.0-rc.4
- v0.64.0-rc.3
- v0.64.0-rc.2
- v0.64.0-rc.1
- v0.64.0-rc.0
- v0.63.5
- v0.63.4
- v0.63.3
- v0.63.2
- v0.63.1
- v0.63.0
- v0.63.0-rc.1
- v0.63.0-rc.0
- v0.62.3
- v0.62.2
- v0.62.1
- v0.62.0
- v0.62.0-rc.5
- v0.62.0-rc.4
- v0.62.0-rc.3
- v0.62.0-rc.2
- v0.62.0-rc.1
- v0.62.0-rc.0
- v0.61.5
- v0.61.4
- v0.61.3
- v0.61.2
- v0.61.1
- v0.61.0
- v0.61.0-rc.3
- v0.61.0-rc.2
- v0.61.0-rc.0
- v0.60.6
- v0.60.5
- v0.60.4
- v0.60.3
- v0.60.2
- v0.60.1
- v0.60.0
- v0.60.0-rc.3
- v0.60.0-rc.2
- v0.60.0-rc.1
- v0.60.0-rc.0
- v0.59.10
- v0.59.9
- v0.59.8
- v0.59.5
- v0.59.4
- v0.59.3
- v0.59.2
- v0.59.1
- v0.59.0
- v0.59.0-rc.3
- v0.59.0-rc.2
- v0.59.0-rc.1
- v0.59.0-rc.0
- v0.58.6
- v0.58.5
- v0.58.4
- v0.58.3
- v0.58.2
- v0.58.1
- v0.58.0
- v0.58.0-rc.3
- v0.58.0-rc.2
- v0.58.0-rc.1
- v0.58.0-rc.0
- v0.57.8
- v0.57.7
- v0.57.6
- v0.57.5
- v0.57.4
- v0.57.3
- v0.57.2
- v0.57.1
- v0.57.0
- v0.57.0-rc.4
- v0.57.0-rc.3
- v0.57.0-rc.2
- v0.57.0-rc.1
- v0.57.0-rc.0
- v0.56.1
- v0.56.0
- v0.56.0-rc.5
- v0.56.0-rc.4
- v0.56.0-rc.3
- v0.56.0-rc.2
- v0.56.0-rc.1
- v0.56.0-rc
- v0.55.4
- v0.55.3
- v0.55.2
- v0.55.1
- v0.55.0
- v0.55.0-rc.2
- v0.55.0-rc.1
- v0.55.0-rc.0
- v0.54.4
- v0.54.3
- v0.54.2
- v0.54.1
- v0.54.0
- v0.54.0-rc.4
- v0.54.0-rc.3
- v0.54.0-rc.2
- v0.54.0-rc.0
- v0.53.3
- v0.53.2
- v0.53.1
- v0.53.0
- v0.53.0-rc.1
- v0.53.0-rc.0
- v0.52.3
- v0.52.2
- v0.52.1
- v0.52.0
- v0.52.0-rc.0
- latest
- 0.60.2
1 parent
52e3ae9
commit 0182086
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters