Git QuickFix

Quickfix allows you to commit changes in your git repository to a new branch without leaving the current branch.

Motivation

I have often written a patch for some minor blemish that caught my attention. I found it annoying to have to stage my main changes, switch to a new branch created off the main branch, commit and push the patch and then switch back to the original branch.

Benefits

How it works

  1. Commit the changes.
  2. git quickfix --push <new_branch>

  3. git quickfix --help provides more options.

The cherry-pick is done in memory. This means your working directory will not be modified.

The quickfix commit will be kept (changed in v0.0.5) unless --remove is provided.

Installation

You can use Cargo to install quickfix.

Cargo is available for all major platforms. How to install Cargo is described here: https://doc.rust-lang.org/cargo/getting-started/installation.html

shell cargo install git-quickfix

Known Issues

FAQ