almost 7 years ago

撤销最近一个commit

    git reset --hard HEAD^

撤销指定的commit

    git reset --hard 3628164

查看撤销记录

    git reflog  
← linux-top 我编程,我快乐-读书笔记 →
 
comments powered by Disqus