How can I view any local commits I\'ve made, that haven\'t yet been pushed to the remote repository? Occasionally, git status will print out that my branch is X
git status
one way of doing things is to list commits that are available on one branch but not another.
git log ^origin/master master