I've two branches, master and live. Master is the development branch and contains commits that aren't ready to go into live.
- If a change is made in the master branch that needs to go into the live branch then they're cherry picked from master to live.
- Sometimes commits are made to the live branch that are then either cherry picked into master or merged into master.
What I want to be able to do is view all the commits that are in master than aren't in live, I've had a good search on here and Google and I was using this:
git log --cherry-pick --no-merges --oneline master...live
This worked until I merged live into master. But now it lists several commits that are in both.
So what is the correct command to view all commits that are in the master branch and not in the live branch?