Hi, > git log $(git reflog show new|sed -n 's/ .*//;$ p')..new I had trouble getting the above to work as a git alias (someething wrt escaping I guess), however this: gl = log --graph --pretty=oneline --abbrev-commit bl = !sh -c 'git gl $0 --not $(git for-each-ref --format=%\\(refname\\) refs/heads/* | grep -v refs/heads/$0)' does exactly what I want: # git reflog show new 76cacd3 new@{0}: commit: B 9638379 new@{1}: commit: A 7944f55 new@{2}: branch: Created from HEAD # git gl * 76cacd3 B * 9638379 A * 7944f55 Y * b8e4a96 X # git bl new * 76cacd3 B * 9638379 A Thanks for the help, Stefan -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html