Sunday, September 16, 2018

Retrieving old file versions from Git in IntelliJ

IntelliJ can integrate nicely with Git for version control. One very nice feature is the ability to see and roll back to old versions of specific files. Right-clicking a file in the Project pane and choosing Git | Show History produces a window with the commits affecting that file. Those commit entries can be double-clicked to see the file as it was at that commit. The version can be restored by right-clicking the commit and choosing Get.

No comments:

Post a Comment