The MPLAB® X Integrated Development Environment (IDE) thread suggests:
- checkout files restores files at the current revision (equivalent to
git restore
)
- checkout revision switches to a given project revision (equivalent to
git switch
)
However, that same thread mentions (in 2017, so it might have changed):
Probably the single biggest problem I have found so far is that if you use "Check out" in MPLAB it does not currently "flush" and reload the configuration files.
The changes made by Check-out can even hang the IDE.
When winding back to earlier versions this makes it retain bits of newer version configurations such as source file names that don't exist yet.
It seems as if you must close the project and check out with an external git
such as git_gui
to get configurations to reload properly.
Checking out lesser revisions that don't change configuration will work fine, though.