How do I get a job from GitHub

Find and download Make project files on Github

Make provides listings, CAD files, circuit sheets and other material for projects and articles on Github. We give some tips on how to use the service.

The Make editors are now making the supplementary files for booklet projects available on Github. Github is a service based on the versioning system git and supplemented by a publicly accessible, central server with a web interface. Access to Github is completely uncomplicated and less error-prone than the previous FTP download. It is also more flexible and seamless, for example when reading in the browser, and enables files to be updated in a traceable manner.

You can find all files as usual via the short link in the article. Now we provide two links for each project at github.com/MakeMagazinDE: A link for direct download of the complete archive and a link to the respective, so-called repository, i.e. the storage location for the files. There you can browse around with the browser and switch to any directory.

View project files

The files belonging to a project, such as Arduino sketches, 3D print data and circuit diagrams, are located in the respective repository. Github can display the contents of many files directly in the browser without having to download them and open them with an additional program. You can easily view program listings, circuit diagrams and construction drawings in PDF format and text files or images. 3D print data in STL format can even be zoomed and rotated in the browser. A download is still required for unsupported formats, such as circuit board files in .PCB and .SCH format.

If you just want to quickly copy a listing from the repository into the Arduino IDE, for example, click on the respective .ino file and then on the "Raw" button. Now copy the text displayed without line numbers (CTRL-A, CTRL-C) and paste it into the local editor (CTRL-V).

Download full archive

If you want to download a complete repository instead, use the "Download ZIP" option under "Clone or download". Github can pack the entire repository into a ZIP file if you wish. Simply click on "Download ZIP" and save the ZIP file on the local disk. In addition to the link to the repository, we have also entered the direct link to the ZIP archive under the project links so that you can download the archive immediately without having to go through the start page of a project on Github.com.

Github always adds the postfix "-master" to the name of the ZIP file to indicate that the files are the latest version. You can leave the name as it is or simply remove the postfix by renaming it - it does not matter for the content of the archive. After the download you can unzip the file and access all files locally, load them into applications, change them, copy them - whatever you want. If you have changed anything in the data beyond repair, simply unzip the archive again and overwrite the old data.

Use Git client

However, Github can be used more elegantly with a local git client than with the browser. The client is available free of charge for Windows, macOS and Linux. Under Windows, the setup program installs a Git-Bash and a graphical GUI client. On Linux you simply install git via the package manager, on Ubuntu for example

sudo apt-get install git

To load the repository onto the local hard drive, all you need to do is enter the URL of the repository. The exact URL can be found under "Clone or Download". The full command looks like this, for example

git clone https://github.com/heise/Internetradio.git

All files are then in the "Internet radio" folder in the same structure as on Github.

Update files

If we publish updates for a project on Github, you can easily integrate them into the local repository. Change to the root directory of the project, here for example, and enter. The command brings all files up to date.

If you have any questions about the make projects, our forums are still available to you, and we look forward to your suggestions.

(dab)

Comment https://heise.de/-4312511Drucken