1
0
Fork 0
mirror of https://github.com/Djuuu/git-compare-branches.git synced 2025-12-09 18:45:32 +01:00
Simple git branch comparator
git
Find a file
2019-02-04 21:19:31 +01:00
.gitignore initial script 2019-02-04 21:19:16 +01:00
git-compare-branches.sh permissions fix 2019-02-04 21:19:31 +01:00
README.md Alias name fix 2019-02-04 21:19:26 +01:00

git-compare-branches

This script compares two branches by showing which other branches are specifically merged into each one.

Installation

  • Clone The repository

Then :

  • Create a symlink to the script in a directory in your path
ln -s /path/to/git-compare-branches/git-compare-branches.sh ~/bin/git-compare-branches

OR

  • Create a git alias in your .gitconfig
[alias]
    compare-branches = "!bash /path/to/git-compare-branches/git-compare-branches.sh"

Usage

git compare-branches toto tata
Branches merged only in toto :

  azer
  remotes/origin/ytui
  remotes/origin/op

Branches merged only in tata :

  qsdf
  ghjk
  remotes/origin/lm