Skip to content

Utility to automatically resolve composer.lock git conflicts

License

Notifications You must be signed in to change notification settings

namoscato/resolve-composer-conflict

Repository files navigation

Actions Status npm version

Resolve Composer Conflict

Utility to automatically resolve composer.lock git conflicts.

Installation

npm i -g resolve-composer-conflict

Usage

resolve-composer-conflict <branch>
  1. Merges the specified branch into the current branch if a merge is not already in progress
  2. Prompts manual resolution of other conflicts if applicable
  3. Resolves the composer.lock conflict by applying the current branch's updated dependencies to the merge branch's locked versions
  4. Commits the merge with a description of the conflicting files