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

0
4 comments

Hi Sven,

Try 'Version Control - Git - Reset HEAD' and specify target commit you want to revert to.

Denis

0

ah,

and what Reset type should i choose? "Hard" ?

0

That depends on what do you want to achieve. Feel free to check the available options.

Denis

0

"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

0

Please sign in to leave a comment.