Git - revert whole project to an older version
Hi,
i am having trouble reverting my project to an older version in git. I was trying to do it via the get button, but it says,
that this is not possible on a directory, only on single files. But i don't want to revert every single file manually, i want to revert
the whole project.
Is there a way, i can do that?
Thanks and cheers
Sven
Please sign in to leave a comment.
Hi Sven,
Try 'Version Control - Git - Reset HEAD' and specify target commit you want to revert to.
Denis
ah,
and what Reset type should i choose? "Hard" ?
That depends on what do you want to achieve. Feel free to check the available options.
Denis
"available options" link is dead
I found this link that describes it briefly...https://www.jetbrains.com/help/idea/using-git-integration.html#reset-HEAD