Alex Rivera | Logout

git download, not clone fetch etc

Asked 2010-11-12T04:45:44.437
25

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

I'm on Windows 7 and don't want to have to install curl or wget and use only a only native tool.

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

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

Edit
Report

1 Answer

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.

answered 2010-11-12T04:49:20.363

Your Answer