-zzhba
Last Updated: February 25, 2016
·
1.955K
· mlafeldt
2190d7a468f51fa3be5eabfc9397a28b

Download code snapshots from GitHub without using Git

This will download all files from a GitHub repo at a given ref (e.g. master) to the current folder:

$ curl -L https://github.com/:owner/:repo/tarball/:ref | tar xz --strip=1

Additionally, you may want to pass -C DIR to tar to change the output directory.

Say Thanks
Respond
Filed Under