Viewing Unpushed Git Commits

You can view changes you have made in your local repository which haven’t been pushed to the origin (remote) repository using the following command: git log origin/<yourbranchname> In case your local branch has been configured with an upstream branch, then you can use the below shorthand: git log @{u}.. or git log @{upstream}.. If you…

Read More