Git
From neil.tappsville.com
Jump to navigationJump to searchLocal Changes vs Repo
git log origin/master..HEAD
You can also view the diff using the same syntax
git diff origin/master..HEAD
Wipe all local changes and get the latest from the repo
git rebase origin/master