New Forum

Visit the new forum at http://godelsmarket.com/bb

Sunday, July 5, 2015

How to Download Code from Any Public Github Repository

Before we get into any more coding, this post may be of use to some of you. The following guide will show you how to clone, i.e. download, any public repository on github.

If you find it useful, or if you like my other posts, please consider subscribing to Gödel's Market Newsletter. Every sign up is a sign of support!

1. Download and install git. Choose one of the following based on your operating system.
Windows: git-scm.com/downloads 
Mac OSX: git-scm.com/downloads 
Linux (ubuntu): sudo apt-get install git

2. Find a repository you want to download off of github. For instance, the code for our last post is at https://github.com/godelsmarket/stock_database_updater.

3. Open up Git Bash if you're using Windows or Mac OSX. If you're using Linux you can use a standard terminal, because that's basically what Git Bash is.

4. Type the following:
git clone https://github.com/godelsmarket/stock_database_updater.git git_code
You can change "git_code" to whatever name you'd like. It is the directory (and path) that will be holding the code.

5. You're done! You now have all the code in that directory for your use. Try downloading some other repositories.

In the future I'll show you how to create your own repository on Github and how to contribute to public repositories. It's really pretty simple.

If you enjoy these posts, consider subscribing to Gödel's Market Newsletter. It encourages me to write more!

1 comment:

  1. Okay...

    This might sound kind of weird, and maybe even a little "out there..."

    BUT what if you could simply press "Play" and listen to a short, "miracle tone"...

    And INSTANTLY bring MORE MONEY into your life??

    And I'm talking about thousands... even MILLIONS of DOLLARS!!

    Sound too EASY?? Think this couldn't possibly be for REAL??

    Well, I've got news for you.

    Sometimes the greatest miracles life has to offer are the easiest to GET!!

    In fact, I'm going to PROVE it to you by letting you listen to a REAL "magical money tone" I developed...

    You simply click "Play" and watch money coming right into your life... it starts right away...

    CLICK here to PLAY this magical "Miracle Money-Magnet TONE" - as my gift to you!!

    ReplyDelete