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
git show
will show all the diffs in your local commits.
git show --name-only
will show the local commit id and the name of commit.