【发布时间】:2014-06-06 13:21:31
【问题描述】:
在我工作的 Eclipse Kepler 4.3.2 副本中安装 Android 工具后,确实出了点问题,以至于我不得不删除 Eclipse 并重新安装它。我的工作空间遭到破坏,甚至我的 git 存储库也遭到破坏。
在过去的三周中,我每天至少提交一次文件,这些文件已恢复为第一个版本。这只是灾难的一个例子,其他文件也有损坏的历史,这个具体案例如下所示
git log -p --follow PartyEvaluationModels/Resources/Rules/Person.d2wmodel
commit d48d3c9b7dbb8769278a70f1400947d87e7f0d6d
Author: Ângelo Andrade Cirino <>
Date: Tue May 13 15:11:20 2014 -0300
Tentativa de implementação com ERPartials e adição de arquivos de regras
para todas as entidades até agora definidas.
diff --git a/PartyEvaluation/Resources/d2w.d2wmodel b/PartyEvaluationModels/Resources/Rules/Person.d2wmodel
similarity index 100%
copy from PartyEvaluation/Resources/d2w.d2wmodel
copy to PartyEvaluationModels/Resources/Rules/Person.d2wmodel
commit 4d51eb3fa72fee750ba4b0a7e8c53216a9ea0b25
Author: Ângelo Andrade Cirino <>
Date: Thu May 8 23:17:01 2014 -0300
Funcionalidades para omitir atributos de entidades e abas de telas de
edição de entidades foram implementados com sucesso.
diff --git a/PartyEvaluation/Resources/d2w.d2wmodel b/PartyEvaluation/Resources/d2w.d2wmodel
index b6b1df4..7793fda 100644
--- a/PartyEvaluation/Resources/d2w.d2wmodel
+++ b/PartyEvaluation/Resources/d2w.d2wmodel
@@ -1,4 +1,4 @@
{
- rules = (
- );
-}
+ "rules" = (
+ );
+}
\ No newline at end of file
commit df14fc9d4dc2f811307b704f85d59b8cc8b0b9a7
Author: Ângelo Andrade Cirino <>
Date: Sun Mar 30 23:44:27 2014 -0300
Inserção do projeto Party
diff --git a/PartyEvaluation/Resources/d2w.d2wmodel b/PartyEvaluation/Resources/d2w.d2wmodel
new file mode 100644
index 0000000..b6b1df4
--- /dev/null
+++ b/PartyEvaluation/Resources/d2w.d2wmodel
@@ -0,0 +1,4 @@
+{
+ rules = (
+ );
+}
正如我所说,这个文件几乎每天都被提交,现在它的所有历史都在本地和 GitHub 上丢失了。由于我的本地副本和 GitHub 失去了它的历史,我想我失去了三周的几个文件的工作。
如果有人帮助我找到解决方案,我将非常感激。
【问题讨论】: