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
When you download the repo it just gives you all the source files with no . git so you dont have the repo. When you clone you get a copy of the history and it is a functional git repo.
If you're intended to contribute to this repo, then you should clone it. Without cloning you're not able to push changes. It will take longer because you must download whole diff history (many git objects). As bigger projects is as longer it would take, but only once (later you download only newer commits).
Step1: Input github url to the field at the top-right. Step2: Press enter or click download for download zip directly or click search for view the list of sub-folders and files. Step3: Click "Download Zip File" or "Get File" button to get files.
To do this, go to the GitHub page for the workshop, click on the green Code button, then download the repository as a ZIP file. The filename may be different than what's in the picture. Find the downloaded . zip file on your computer, likely in your Downloads folder.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With