gfb

Crates.iogfb
lib.rsgfb
version1.1.3
sourcesrc
created_at2023-05-23 16:42:07.243177
updated_at2023-07-12 02:57:17.66546
descriptionTiny CLI for enforcing branching name strategy across multiple git repositories
homepagehttps://github.com/byte-partisan/git-favorite-branch
repositoryhttps://github.com/byte-partisan/git-favorite-branch
max_upload_size
id872158
size61,379
Maksym (partisan-bobryk)

documentation

README

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
Commit count: 58

cargo fmt