git 常用命令备忘

将远程仓库还原到某个历史提交版本

   git checkout 9fc9ed035dfc821ace5024e3ee57a1920ffd24f8 .
    
   git commit -m "revert"
   
   git push origin develop
      
posted @ 2014-06-13 20:57  一路追寻  阅读(195)  评论(0编辑  收藏  举报