How to get code from GitHub

by Apr 12, 2015




Try at home

  1. Try creating your own repository for your code

Transcript

This video describes how to get code from GitHub for the DeegeU tutorials, but the process isn’t any different for any other repository. You can use this info to pull code from any repository.

All tutorial source code for DeegeU is located on GitHub. The link for every repository can be found on the tutorial page. Just replace deegeu-tutorial in the link for the tutorial you’re looking for. You can get the source code in one of two ways. You can clone the code, or you can download the code.

Cloning the code requires that you have Git installed on your machine. You can check this by running the following command,

git --version

There are 2 dashes. This command should return the version of git installed on your machine. If you get an error, you probably need to install git. The install help is listed in the links for this video.

Each tutorial has the clone url listed at the bottom of the tutorial page. Simply type

git clone https://github.com/deege/deegeu-java-intro.git

git clone followed by the url, and you should be good to go.

You can also get the code as a zip file by following the Github repository link instead. This will take you to the repository on GitHub’s website.

On the right side bar, there should be a button to download the entire repository as a zipped file. Click on that button and you can unzip the downloaded file to the directory of your choice.

Hope this helps. If you have troubles resolving any issues, let me know.







Tools Used

  • Git
  • GitHub.com

Media Credits

All media created and owned by DJ Spiess unless listed below.

Don’t miss another video!

New videos come out every week. Make sure you subscribe!

Comments

comments

DJ Spiess

DJ Spiess

Your personal instructor

My name is DJ Spiess and I’m a developer with a Masters degree in Computer Science working in Colorado, USA. I primarily work with Java server applications. I started programming as a kid in the 1980s, and I’ve programmed professionally since 1996. My main focus are REST APIs, large-scale data, and mobile development. The last six years I’ve worked on large National Science Foundation projects. You can read more about my development experience on my LinkedIn account.

Pin It on Pinterest

Share This