0

I made a revert that deleted some files and directories... According to the The screenshot:

The Red box shows the commit with my revert. The Blue arrow shows the position inside of my project The Green arrows shows the files that I would like to recover...

I see this question, but that is recovering all, and this How do I reset or revert a file to a specific revision? shows only file. This Git revert just some files in commit is about single file.

How I Could do the recovery with directory?

enter image description here

Is it possible do this operation directly from IntelliJ?

enter image description here

Is it possible do this operation interactively (in order to select what recover)?

joseluisbz
  • 1,491
  • 1
  • 36
  • 58
  • [Does this](https://stackoverflow.com/questions/9670745/how-to-restore-a-whole-directory-from-history-of-git-repository) sound like what you are trying to do? – RyterINC Dec 26 '22 at 16:41
  • You can click on 'Cherry-pick selected changes' and then remove undesired changes from Change List and commit only those that you consider useful. – Ruslan Kuleshov Dec 28 '22 at 21:36

0 Answers0