git status 只能查看到本地当前有多少个提交还未推送,但看不到具体是哪些提交
$ git status
On branch dev_1.90.1
Your branch is ahead of 'origin/dev_1.90.1' by 3 commits.
(use "git push" to publish your local commits)
如果想要查看具体是哪些提交未推送,可以使用命令:
git log branch_name ^origin/branch_name