如何找出哪些工作尚未推送到其他存儲庫?換一種說法;如果我要刪除該存儲庫,我會永久丟失什麼?git show unpushed work
目前我使用下面的3行,但我想知道,如果這是一個完整的覆蓋,如果它是一個理智的方式:
git status --short
git log --branches --not --remotes --simplify-by-decoration --decorate --oneline
git stash list
更新:看來,子模塊不檢查。有沒有辦法遞歸地包含子模塊?
那些從谷歌來到這裏,參見[查看未壓縮Git提交](http://stackoverflow.com/questions/2016901/viewing-unpushed-git-commits) – 2013-05-19 11:15:50