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

https://github.com/patrickduncan/lagging_branches

Easily find out which branches need rebasing
https://github.com/patrickduncan/lagging_branches

Last synced: about 1 month ago
JSON representation

Easily find out which branches need rebasing

Awesome Lists containing this project

README

          

## Lagging Branches

Every large project experiences an issue where some feature branches end up lagging behind the core development. When a developer starts to develop that feature again they will most likely run into a plethora of conflicts.

One way to avoid this issue is to use this tool! This tool lists every branch that is behind another branch and displays how far behind they are.

### Requirements

- sh

### Installation

1. Clone this repository
2. Enter your project
3. Run `.//lagging_branches.sh [Options]`

### Options

`lagging_branches.sh [Branch] [Remote] [Fetch]`

#### Branch

The branch to compare all the other branches to.

*Default: master*

#### Remote

The remote name to get the branches from.

*Default: origin*

#### Fetch

Whether you want to the script to fetch the remote (it also prunes). Anything other than the default will fetch.

*Default: no*

### Example

`.//lagging_branches.sh new-users staging yes`