/octo-merge

Create an arbitrary number of branches that can be octopus merged

Primary LanguageShellMIT LicenseMIT

Octo-merge

Create an arbitrary number of branches that can be octopus merged

Join the chat at https://gitter.im/DanielGGordon/octo-merge Twitter: @DgordonCS License

Why?

Honestly, just for fun. I have never needed to merge more than 2 branches at a time. I thought merging 100 branches at once would be cool.

What it will look like when finished?

Octo_merge

Requirements

  • A terminal with git
    • For Windows users, use Git Bash, or my personal favorite, Cmder
  • A GUI for displaying lots of branches

Usage

First, you will want to clone this repository: git clone https://github.com/DanielGGordon/octo-merge.git And then cd octo-merge

The first script you will want to run is create_octo.sh. This script will:

  • Create a file called octo_test.txt that will contain N lines in the file.

    • Each line will be changed by a different branch

Future improvements and additions

  • 'Randomize' the branch creation and commits so that the history looks more scrambled
  • Do a 'smart' search of existing branches, instead of hardcoding the search and delete delete this line! just a git test