如何找出哪些工作尚未推送到其他存储库?换一种说法;如果我要删除该存储库,我会永久丢失什么?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