I've cloned a repo from GitHub (microsoft/azuredatastudio), and whenever I run yarn install, at the end of that 60 second process, my repository-local config file (ADS/.git/config) changes (specifically, pull.rebase gets set to true).
yarn install
ADS/.git/config
pull.rebase
true
How can I investigate what part of yarn install is changing my pull method and stop it from doing so?
I figured it out: the repo's package.json had a postinstall step defined, which contained cp.execSync('git config pull.rebase true');
cp.execSync('git config pull.rebase true');
1.4m articles
1.4m replys
5 comments
57.0k users