git查看本地有commit但没有push的分支
命令:
git branch -vv或者git branch -v或者git branch --verbose
分支名称 bd2039ffe [origin/分支名称: ahead 2, behind 2] commit信息
分支名称 174c80c0b [origin/分支名称] commit信息
ahead是还没push的,behind是还没pull的