idea 撤回已commit未push的代码

VSC  => Git

=> reset head

 

=> 退回到上次commit

 

=> 退回到第2次提交之前

 

=> 退回到指定commit版本

 

你可能感兴趣的:(software使用)