Big-Boss

1.进入到文件所在文件目录,或者能找到文件的路径

  查看文件的修改记录:git log fileName

2.回退到指定版本

  git reset 版本号  fileName

3.提交到本地参考

  git commit -m “提交的描述信息”

4.更新到工作目录

  git checkout fileName

5.提交到远程仓库

  git push origin master

这样指定的文件回退到指定版本了

 

分类:

技术点:

相关文章:

  • 2021-11-15
  • 2021-08-15
  • 2021-10-19
  • 2021-11-29
  • 2021-11-29
  • 2021-08-16
  • 2020-03-17
  • 2021-11-20
猜你喜欢
  • 2021-08-15
  • 2021-08-15
  • 2021-08-15
  • 2021-08-15
  • 2021-08-15
  • 2021-08-29
  • 2021-08-15
相关资源
相似解决方案