很简单,进入提示的目录,用git status看下,能看到所谓的uncommitted changes,然后用:

git checkout -- <file>

revert chagne就OK了。也可以用git reset --hard HEAD^1

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-16
  • 2022-12-23
  • 2021-07-24
  • 2021-11-21
  • 2022-12-23
  • 2021-10-12
猜你喜欢
  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2021-07-05
相关资源
相似解决方案