xZise xZise - 7 months ago 44
Git Question

How do I load a specific git commit?

I cloned a repository and want to switch between to a commit to test my plugin against the core.


Instead of passing the name of a branch, you can pass any commit ID to checkout:

git checkout <commit-id>

See the man page.