xZise xZise - 1 year ago 112
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.

Answer Source

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

git checkout <commit-id>

See the man page.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download