Skip to content

See what branches are out of sync with their parent branches and painlessly rebase them

License

Notifications You must be signed in to change notification settings

gitter-badger/git-machete

 
 

Repository files navigation

git-machete

If you work a with a git rebase flow, git machete will (vastly!) help you manage the jungle of branches stacking on top of each other when you're, for example, working on a couple of different PRs in parallel.

git machete status

Install

Run the following commands to install git machete:

$ git clone https://github.com/VirtusLab/git-machete.git
$ cd git-machete
$ sudo make install

Quick start

$ cd your-repo/
$ git machete discover
  # (see and possibly edit the suggested layout of branches)
$ git machete go root
$ git machete traverse
  # (put each branch one by one in sync with its parent and remote counterpart)

Reference

Take a look at https://virtuslab.com/blog/make-way-git-rebase-jungle-git-machete/ for a guide on how to use the tool.

The more advanced features like automated traversal, upstream inference and tree discovery are described in the second part of the series: https://virtuslab.com/blog/git-machete-strikes-traverse-git-rebase-jungle-even-faster-v2-0/

About

See what branches are out of sync with their parent branches and painlessly rebase them

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.0%
  • Shell 3.3%
  • Makefile 0.7%