Syntax

Untitled Database

List Commits in master but not in origin / master

git rev-list --oneline master ^origin/master

Git rev-list will list commits in one branch that are not in another branch. It is a great tool when you’re trying to figure out if code has been merged into a branch or not.