1
resposta

Erro ao dar git revert 7cb09d6c89f66840e98f43f6a1f66fb6ca55074d--> hash

Prezado, Descrição do erro:

CONFLICT (modify/delete): index.html deleted in (empty tree) and modified in HEAD. Version HEAD of index.html left in tree. error: could not revert 7cb09d6... Alterando o c├│digo hint: after resolving the conflicts, mark the corrected paths hint: with 'git add ' or 'git rm ' hint: and commit the result with 'git commit'

Poderia me ajudar com isso?

1 resposta

Olá Sergio, tudo bem? O erro indica que o arquivo index.html foi deletado na árvore porém foi modificado no HEAD, e isso gerou um conflito, então para resolver, você precisa resolver esse conflito, você pode abrir o VS Code e ele deve indicar o conflito, no caso o problema, então você precisa deixar uma das alternativas que ele deixar.

Tenta essa solução e fala pra gente se deu certo ;)