Last active
December 14, 2015 15:59
-
-
Save d/5112267 to your computer and use it in GitHub Desktop.
modified dot dot dot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e -u -x | |
rev1=${1:-origin/master} | |
rev2=${2:-HEAD} | |
git log --graph --decorate --oneline $rev1 $rev2 --not $(git rev-list --parents --max-count 1 $(git merge-base $rev1 $rev2) | cut -d" " -f2- ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment