Итак, у меня была эта проблема последние 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$