Jump to content

How to download a snapshot of a project (given a commit) from GitHub?


Guest iisdev

Recommended Posts

Hi,

I want to download MaNGOS 11792 so I can test it against UDB 0.12.2.402. I don't need to make changes or submit patches - I just need to quickly download the source so I can compile it.

The MaNGOS GitHub page used to allow me to download an archive (zip or tar.gz) of the project from a specific commit but it looks like their site underwent a design recently. I've looked all over for the download button on the commit page but can't find it. Maybe they removed this feature?

For those of us that need a snapshot of the project from a certain commit - is there an easy way of doing this?

I need MaNGOS 11792 - the commit sha1 is: ef793da5b180e94d639eb214f0a15b4f60c9ec9f.

Thanks in advance.

Link to comment
Share on other sites

I recommend you use git, it's really very easy to do what you want. After you've cloned the repository, just do this:

git checkout -b new-branch-name ef793da5b

Otherwise, you can follow these steps to get your zip:

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