/ Published in: Bash

This will display the commit difference between the origin/master branch and the current working branch
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
branch=$( git branch 2>/dev/null|grep -e ^* | tr -d \*\ ) git log --oneline remotes/origin/master "^${branch}"
Comments
