How can I view any local commits I've made, that haven't yet been pushed to the remote repository?
(如何查看我所做的任何尚未推送到远程存储库的本地提交?)
Occasionally, git status
will print out that my branch is X commits ahead of origin/master
, but not always. (偶尔, git status
会打印出我的分支是X提交在origin/master
,但并非总是如此。)
Is this a bug with my install of Git, or am I missing something?
(这是我安装Git的错误,还是我错过了什么?)
ask by Josh Buhler translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…