Skip to content

ThimDeveloper/branch_lightyear

Repository files navigation

Branch Lightyear

The comfort of some pretty sleek Git commands right in the terminal

            _._                           _._
           ||||                           ||||
           ||||_           ___           _||||
           |  ||        .-'___`-.        ||  |
           \   /      .' .'_ _'. '.      \   /
           /~~|       | (| b d |) |       |~~\
          /'  |       |  |  '  |  |       |  `\
,        /__.-:      ,|  | `-' |  |,      :-.__\       ,
|'-------(    \-''""/.|  /\___/\  |.\""''-/    )------'|
|         \_.-'\   /   '-._____.-'   \   /'-._/        |
|.---------\   /'._| _    .---. ===  |_.'\   /--------.|
'           \ /  | |\_\ _ \=v=/  _   | |  \ /          '
             `.  | | \_\_\ ~~~  (_)  | |  .'
               `'"'|`'--.__.^.__.--'`|'"'`
                   \                 /
                    `,..---'"'---..,'
                      :--..___..--:    TO INFINITY...
                       \         /
                       |`.     .'|       AND BEYOND!
                       |  :___:  |
                       |   | |   |
                       |   | |   |
                       |.-.| |.-.|
                       |`-'| |`-'|
                       |   | |   |
                      /    | |    \
                     |_____| |_____|
                     ':---:-'-:---:'
                     /    |   |    \
                    /.---.|   |.---.\
                    `.____;   :____.'
Buzz Lightyear by Joan Stark

Link to ASCII

Quick Start

Try the latest release from npm

npm install -g @thimlohsedev/branch_lightyear@latest

OR

Download the repo

git clone https://github.com/ThimDeveloper/branch_lightyear.git

Install the CLI locally for development (using symlink)

cd branch_lightyear
npm run local

Remember to unlink the package to not keep unnecessary symlinks when you're done

npm unlink

Command Summary

bl [command] <option>
Command Description
pick checkout git branch from select list
create create new git branch
delete delete git branch from select list
-v --version show package version
-h --help show help menu
[command] -h --help show help menu for specific command

Demo

Pick local branch with fuzzy search

pick-local

Pick remote branch with fuzzy search

pick-remote

Delete single local branch with fuzzy search

delete-single

Delete multiple local branches with checkboxes

delete-multiple

Create local branch from master

create-local

Create local branch from master and automatically setup upstream tracking on remote

create-remote

About

The comfort of Git in an IDE right in the terminal

Resources

License

Stars

Watchers

Forks

Packages

No packages published