I cloned a Git repository and then tried to roll it back to a particular commit early on in the development process. Everything that was added to the repository after that point is unimportant to me so I want to omit all subsequent changes from my local source code.
However, when I try to roll back in the GUI tool it doesn’t update my local file system – I always end up with the latest source code for the project.
What’s the correct way to just get the source for a repository as of a particular commit in the project’s history and omit all later updates?