Show commits on my branch that are not pushed yet, and commits waiting to be pulled.
BeginnerProductionRapid-fire commands
Answer
git log @{u}..HEAD --oneline # to push
git log HEAD..@{u} --oneline # to pull
More on Rapid-fire commands
Print the repository root directory.BeginnerPrint the current branch name (script-friendly).BeginnerList files changed in the last commit.BeginnerShow the commits I made in the last week.BeginnerList remote branches sorted by most recent commit.IntermediateSearch the working tree for a string with line numbers.Beginner