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

4 comments
Comment actions Permalink

Hi Sven,

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

Denis

0
Comment actions Permalink

ah,

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

0
Comment actions Permalink

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

Denis

0
Comment actions Permalink

"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.