简体   繁体   中英

How to automatically ignore git conflicts in package.json

In our app we have some shared npm packages that get updated pretty often. This leads to multiple pull requests with the same package getting a version update. So every time one of these pulls gets merged into master the other pull request will get a conflict on github. Is there a way to automatically take the highest package version so that we don't get conflicts? This slows us down a lot because we have to rerun all of our integration tests every time we fix these conflicts.

No there is not. GitHub does no such management and it really is not the job of a distributed source control system.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM