Skip to content

Instantly share code, notes, and snippets.

View stevenharman's full-sized avatar

Steven Harman stevenharman

View GitHub Profile
@stevenharman
stevenharman / git-noton
Last active December 15, 2015 11:59 — forked from searls/git-unmaster
A git command for logging all the commits on the current branch that are not on another branch as of your nearest common ancestor. Additional git-log flags come along for the ride (e.g. `git unmaster --oneline`)
#!/bin/sh
if [ $# -eq 0 ]; then
echo "Please specify the base branch"
exit 1
fi
BASEBRANCH=$1
shift