lsbranch

0.4.1 • Public • Published

lsbranch

npm version

Do you ever find yourself working on multiple feature branches across a number of clones of the same repo?

This is a simple tool for listing the checked-out branches across all of your clones!

Installation

Install lsbranch globally with npm install -g lsbranch.

Then, run lsbranch add --path /path/to/your-repo [--alias repoAlias] to configure repos. For example:

> lsbranch add --path /code/my-repo1/ --alias Repo1
> lsbranch add --path /code/my-repo2/ --alias Repo2
> lsbranch add --path /code/my-other-repo/
> lsbranch add --path C:\code\my-repo # On Windows

Usage

Run lsbranch ls to see the configured repos' currently checked out branches

> lsbranch ls
Repo 1                main
Repo 2                feature/branch
/code/my-other-repo/  master

Thats it!

/lsbranch/

    Package Sidebar

    Install

    npm i lsbranch

    Weekly Downloads

    2

    Version

    0.4.1

    License

    MIT

    Unpacked Size

    88.7 kB

    Total Files

    37

    Last publish

    Collaborators

    • ianc