How can I check which commits have not been pushed to origin?

前端 未结 2 1252
旧时难觅i
旧时难觅i 2021-01-30 10:33

I have made commits to my local branch (let\'s just say master) and have \'git pull\'d down changes that others have made. When I run a \'git status\', I see something like:

2条回答
  •  孤独总比滥情好
    2021-01-30 11:11

    I tend to use gitk (or gitk --all) which will show this history of the branch. It also displays large friendly labels on origin/master and master (and any other tags that you have).

    A more lo tech version is git log --graph

提交回复
热议问题