From fa8ec04ac837e396de496a717b7b3e8e9d5e86b8 Mon Sep 17 00:00:00 2001 From: Ujjwal Raizada Date: Fri, 20 Jul 2018 03:11:26 +0530 Subject: [PATCH] README.md: Downloading specific folder of a repo. Added information for downloading a specific tutorial folder from the repo. Otherwise, git clone downloads complete repo, which might not be needed by everyone. --- README.md | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 20a0a12..8af49d1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -####Source Code from thenewboston Tutorials +#### Source Code from thenewboston Tutorials We are in the process of adding the source code from all of the tutorials to a public GitHub repository. If anyone would like to contribute, please feel free! @@ -10,7 +10,35 @@ DigitalOcean: https://docs.google.com/document/d/1xOllgXRN10fWz1TsURh0OYI60TAVz0 *** -#####How to Submit Source Code +##### How to download a specific folder + +if you use git clone, you have to download complete repository, but svn (subversion) makes it easier to +download specific folder from a repo. + +first install svn: + +ubuntu users: +``` +$ sudo apt install subversion +``` + +then download the specific tutorial folder: + +``` +$ svn checkout https://github.com/buckyroberts/Source-Code-from-Tutorials/trunk/ +``` + +for example lets take Bootstrap. + +``` +$ svn checkout https://github.com/buckyroberts/Source-Code-from-Tutorials/trunk/Bootstrap +``` + +Thats it! + +*** + +##### How to Submit Source Code 1 - Download [GitHub for Windows](https://windows.github.com/) or [GitHub for Mac](https://mac.github.com/)