如何使用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"