21

Ok, so i want a command line tool to download a github repo without creating a local git repo.

One idea is a download tool to download github zips from a url like

https://github.com/lukeholder/fuel-website/zipball/master

im on windows 7 and dont want to have to install curl or wget. only native tool?

it would preferable to not download a zip but just somehow clone the repo and not have the local git repo ever created.

ideas without using git? In effect it would be a git clone and del .git directory

lukemh
  • 5,043
  • 7
  • 30
  • 38

2 Answers2

8

If you were willing to still use git (just not create a repository) you could do it with git archive as explained in this question.

Community
  • 1
  • 1
Pace
  • 41,875
  • 13
  • 113
  • 156
3

Immediately above the main directory (to the right) for the folder/files being viewed is a tab with a URL and a "Download" button to pull all the files.

If you DO NOT see those options then you must click the directory link above the viewing area (i.e. some name > some folder > some other folder) to essentially back out of the directory until you see the option to "Download" and that is the entire compressed file to be downloaded.

SierraJuliet
  • 177
  • 2