It was useful for me to avoid unnecessary commits with a push.
git log origin/master..HEAD
You can also view the diff using the same syntax
git diff origin/master..HEAD
Source: http://stackoverflow.com/questions/2016901/viewing-unpushed-git-commits
No comments:
Post a Comment