Can deleted .git be restored?

后端 未结 4 2128
刺人心
刺人心 2020-11-27 19:40

This happened when working with git on Ruby on Rails. several commits and branches were done and created.

git version 1.7.3.4

I accidentall

4条回答
  •  遥遥无期
    2020-11-27 20:06

    if you compiled your work and it is in a jar format. Go to your .m2/repository/location and find that jar file. change the .jar to .zip. unzip the file and your git repository should be there.

提交回复
热议问题