User:Addshore/Git

Show the commits that are in your current branch, but not origin -- i.e., whether you're ahead of origin and by which commits.

Show the commits that are in your origin, but not current branch-- i.e., whether you're behind of origin and by which commits.

Reset to a previous commit.

Rebase and merge:

To commit push to gerrit review: