Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/namoscato/resolve-composer-conflict

Utility to automatically resolve composer.lock git conflicts
https://github.com/namoscato/resolve-composer-conflict

composer conflict conflict-resolution git git-conflicts resolver

Last synced: 27 days ago
JSON representation

Utility to automatically resolve composer.lock git conflicts

Awesome Lists containing this project

README

        

[![Actions Status](https://github.com/namoscato/resolve-composer-conflict/workflows/ci/badge.svg)](https://github.com/namoscato/resolve-composer-conflict/actions) [![npm version](https://badge.fury.io/js/resolve-composer-conflict.svg)](https://www.npmjs.com/package/resolve-composer-conflict)

# Resolve Composer Conflict

Utility to automatically resolve [`composer.lock`](https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies) git conflicts.

## Installation

```
npm i -g resolve-composer-conflict
```

## Usage

```
resolve-composer-conflict
```

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