View unpushed commits
Published: August 25, 2020
If you want to view which commits you have done localy that are not yet pushed, you can use these commands. Commands assumes you are on brach main
.
View commits:
sh
git log origin/main..HEAD
View diff:
sh
git diff origin/main..HEAD