Skip to content

Quickly manage git branches during intensive multi-tasking work environments

License

Notifications You must be signed in to change notification settings

partisan-bobryk/git-favorite-branch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Favorite Branch

Quickly manage git branches during intensive multi-tasking work environments

Usage

You can always run gfb <SUBCOMMAND> -h to get the latest usage.

Tiny CLI for enforcing branching name strategy across multiple repositories

Usage: gfb <COMMAND>

Commands:
  add      Add current branch to favorites
  use      Switch to a different branch
  del      Remove favorite branch
  del-all  Delete all favorite branches
  branch   Print Branch Name
  new      Create a new branch that is named with a value for a given key
  ls       List all favorite branches
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Install

Using Cargo

cargo install gfb

Using Homebrew (MacOS Only)

brew tap revent-studio/tap
brew install gfb

Build

Currently we don't have a build available for multiple OS, so you will need to clone the repo and build it your self. No worries here is the guide to get it working on your machine.

Requirements

  • Rust (latest)

Installation Instructions

  1. Clone this repo
git clone git@github.com:byte-partisan/git-favorite-branch.git
  1. Build
cargo build
  1. With the help of cargo make your executable visible to your environment
cargo install --path .
  1. Run the executable
gfb --help

About

Quickly manage git branches during intensive multi-tasking work environments

Resources

License

Stars

Watchers

Forks

Packages