请允许我说,作为网站建设进程的一部分,我向网上查阅的名录复制了一个git项目,并删除该目录。 现在,几天后,在我上下几页之后,在公共网站名录上做了一些承诺,而现在如何使用哪一种简单的方法?
# /var/www (public web dir):
/index.html
# Git repository:
HEAD:/index.html
HEAD~1:/index.html
HEAD~2:/index.html
.
. <-- /var/www/index.html matches in here somewhere.
.
HEAD~N:/index.html
The only thing I can think to do is write a script to checkout every version of the file in git and check each one, but in my limited experience with git I ve found that there is usually some canonical way to accomplish whatever git task I dream up.