Return to Snippet

Revision: 33617
at October 11, 2010 03:29 by arunpjohny


Initial Code
branch=$( git branch 2>/dev/null|grep -e ^* | tr -d \*\ )
git log --oneline remotes/origin/master "^${branch}"

Initial URL


Initial Description
This will display the commit difference between the origin/master branch and the current working branch

Initial Title
git difference between a branch and current branch

Initial Tags
git

Initial Language
Bash