且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Git中查看已删除的文件

更新时间:2023-12-04 19:48:10

git show HEAD^:path/to/file

You can use an explicit commit identifier or HEAD~n to see older versions or if there has been more than one commit since you deleted it.