【发布时间】:2014-02-03 17:25:28
【问题描述】:
这是最新的差异
diff --git a/app/config/parameters.yml b/app/config/parameters.yml
deleted file mode 100755
index [not important]
--- a/app/config/parameters.yml
+++ /dev/null
附上评论:git log:
commit [not important]
Author: <not important>
Date: [not important]
Never commit the parameters.yml
现在 git 已经删除了这个文件,这破坏了整个网站。如何恢复?
这不是重复的,因为如果我这样做:
>git checkout [rev number not ipmortant] -- app/config/parameters.yml
error: pathspec 'app/config/parameters.yml' did not match any file(s) known to git.
那么它是怎么出现在历史上的的?
【问题讨论】:
标签: git version-control