Languages

Git - revert local file with Intellij IDEA

1 points
Asked by:
Root-ssh
77680

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
77680

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
Native Advertising
­čÜÇ
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - friendly IT community for everyone.

ÔŁĄ´ŞĆ­čĺ╗ ­čÖé

Join