Languages

Git - revert local file with Intellij IDEA

1 points
Asked by:
Root-ssh
177560

How do I revert all changes in file with Git from Intellij IDEA UI?

I made changes only locally and I want to revert all changes and go back to the project version.

How to do it?

1 answer
3 points
Answered by:
Root-ssh
177560

Quick solution:

  1. Click 'Version Control' tab
  2. Select file from change list
  3. Second mouse click on this file
  4. Click 'Rever'

Screenshot from Intellij IDEA:

Git - revert local file with Intellij IDEA

0 comments Add comment
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join