Jump to content

Git question


Guest bryansthl

Recommended Posts

I'm trying to figure out how to pull down an older hash with git.

Example 2a8a1f280246672ccee52add272ac76ba5ed39fd 10-28-2008

I'm getting Fatal error line 24 trying to apply scriptdev2 patch and it was suggested that I pull down the hash that the patch was released for.

Thanks for any help

Link to comment
Share on other sites

We have a source code mastery section for such topics, where freghar is offering his Git knowlede.

:D

I'm trying to figure out how to pull down an older hash with git.

Example 2a8a1f280246672ccee52add272ac76ba5ed39fd 10-28-2008

I'm getting Fatal error line 24 trying to apply scriptdev2 patch and it was suggested that I pull down the hash that the patch was released for.

Thanks for any help

You don't "pull some revision", you just clone the whole repository (so you have everything offline) and then you can "checkout" the tree from the object database.

If you'd like to have your working tree reflected from 2a8a1f280246672ccee52add272ac76ba5ed39fd , just checkout it:

git checkout 2a8a1f280246672ccee52add272ac76ba5ed39fd

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use