如何使用TortoiseGit检出旧版本的文件? [英] How do I check out an older version of a file with TortoiseGit?

查看:470
本文介绍了如何使用TortoiseGit检出旧版本的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里看到有关使用命令行git检查旧版本文件的线程,但我该如何使用TortoiseGit来完成它?

I see threads on here about checking out older versions of a file with the command line git, but how do I do it with TortoiseGit?

推荐答案

右键点击你感兴趣的文件并选择Tortoise Git - > Show Log。在您感兴趣的日志中选择提交,然后在底部窗格中右键单击您感兴趣的文件,然后选择恢复到此修订版本。

Right click on the file you are interested and choose Tortoise Git --> Show Log. Select the commit in the log you are interested in, then right click on the file you are interested in the bottom pane, and select "Revert to this Revision"

这篇关于如何使用TortoiseGit检出旧版本的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆