ameyring
Posts: 4
Joined: Thu May 21, 2015 11:27 am

GitHubownload link not working

Wed Nov 23, 2016 3:34 am

I need to download a zip file from GitHub and the "Clone or Download" link does not work on my Pi 2 B and I can't recall when it started doing that. It works fine on my Windows PC (but it is a complex file folder to transfer from PC to Pi via email). How can I use the link on the Pi?
Thanks.

Heater
Posts: 16092
Joined: Tue Jul 17, 2012 3:02 pm

Re: GitHubownload link not working

Wed Nov 23, 2016 6:11 am

Install git on your Pi

$ apt-get install git

Use git to download the repository. For example:

$ git clone https://github.com/ZiCog/mqtt-free-pascal.git

Now you have everything in a directory named after the repository name. Under your current directory.
Memory in C++ is a leaky abstraction .

ameyring
Posts: 4
Joined: Thu May 21, 2015 11:27 am

Re: GitHubownload link not working

Thu Nov 24, 2016 2:30 pm

Thank you! I need to use that git clone more often.

Heater
Posts: 16092
Joined: Tue Jul 17, 2012 3:02 pm

Re: GitHubownload link not working

Thu Nov 24, 2016 2:40 pm

Don't forget, once you have cloned a git repository you can get the latest updates with "git pull" which will only fetch the changes.

Wonderful thing is git.
Memory in C++ is a leaky abstraction .

Return to “General discussion”