Git 查看未 Push 的 Commit

Linux 2022-11-05 30

查看數量

git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.

查看 Commit 資訊#

git cherry -v
+ a342c7b8c62c167de7af8bb8814eff7439b6ae15 add. initial commit