Git恢复删除我存储库中的每个文件

时间:2018-09-22 15:15:39

标签: git

所以在过去的5天中,每当我尝试还原提交时,我都遇到了这个问题,git继续执行并删除存储库中的每个文件。

ben@ben-build:~/android/arrow/kernel/motorola/msm8952$ ls -a
.                 COPYING        README          drivers   lib       tools
..                CREDITS        REPORTING-BUGS  firmware  mm        usr
.git              Documentation  android         fs        net       virt
.gitignore        Kbuild         arch            include   samples
.mailmap          Kconfig        block           init      scripts
Android.mk        MAINTAINERS    crypto          ipc       security
AndroidKernel.mk  Makefile       defconfig.mk    kernel    sound
ben@ben-build:~/android/arrow/kernel/motorola/msm8952$ git revert 93bcc70c7a4162cbd1aceb4f1e637fee2e195717
error: could not revert 93bcc70c7... msm8952: Undervolt
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
ben@ben-build:~/android/arrow/kernel/motorola/msm8952$ ls -a
.  ..  .git  drivers
ben@ben-build:~/android/arrow/kernel/motorola/msm8952$ 

0 个答案:

没有答案