Friday, December 04, 2015

Show All the Commits Behind the Master for a Given Branch in Git

This will prepend "git show" to the commit hash 
git rev-list your-branch-name --not master | sed 's/^/git show /'  | pbcopy

git rev-list rails424 --not master | sed 's/^/git show /'  | xargs git show

will show the diff for each of the commit hash.