zoukankan      html  css  js  c++  java
  • git 放弃本地修改 回到对应版本

    git checkout .  #本地所有的修改,没有提交的,都返回到原来的状态
    git reset --hard version  #返回到某个节点,不保留修改。
  • 相关阅读:
    403
    311
    401
    310
    308
    309
    307
    304
    3-1
    2-11
  • 原文地址:https://www.cnblogs.com/miangao/p/13072580.html
Copyright © 2011-2022 走看看