直接上操做步骤了;git
git log -g 查看提交记录,找到你要的那个分支的commit id ....就是一长串的那个东西,如图bash
2.git branch recover_branch_notify1.0 d3831abc7718f7526673f503c1f0be3a6778640.net
其中notify1.0是自定义的,recover_branch_是必需要的,然就能够用git branch 查看了,就生成了recover_branch_notify1.0分支了。恢复了。OK。blog
破费....是否是....而后有一个问题,就是个人git bash打开不能用了...是这样的,求大神太一手...ip
参考文章:http://blog.csdn.net/fdipzone/article/details/50616386 get