INFO 2480-61: Website Database Implementation
  • Syllabus
  • Welcome Letter
  • Week 1: Software and Setup
    • Folder Structure
    • Git: Getting Started
      • Installing a Git Client
      • Creating a Local Repository
      • Making Changes and Merging them
      • Git Wrap Up
    • Git: Github
      • Creating a New Account
      • Creating a Repo on Github
      • Cloning and Forking
      • Cloning a Repo from Github
      • Pushing Changes to Github.com
      • Github: Adding a Collaborator
    • Command Box
      • Downloading the Software
      • Unzipping and Running the Software for the first time
      • Using CommandBox And Installing the UML-Info package.
      • Setting Up Your Local Server
      • Last Step
    • IDE ( Integrated Development Environment )
      • VS Code
      • IntelliJ
    • Journal
  • Week 2: Review of HTML and CSS
    • Making Point In Time and Working Branches
    • Opening our Project from Week 1 and Starting our BoxLang server
    • HTTP Calls and Requests
    • Making a Static Website Dynamic
    • Creating The Management Index.bxm
    • Creating An HTML Form with Bootstrap
    • Last Steps
  • Week 3: Working Forms and our First Table
    • Data Types
    • Case Types and Naming Conventions
    • Database Tools and Your First DB
      • Installing MySql WorkBench
      • Connecting to your MySQL database
      • Creating Your First Table
    • Working Forms
      • Separation of Concerns
      • Configuring Our Site To Use Our Database
      • Capturing Your Form Data
      • Creating Our Server Side Logic
  • Week 5: SQL and Modelling
    • Our Project And Its Users
    • Introduction to SQL
    • Completing our Articles page.
      • Adapting manageArticles.bxm to display existing articles in the database
      • Completing ManageArticles.bxm to Edit Existing Articles.
      • Making Active Articles Appear On The Public Page
  • Week 6: Managing Books
    • Introduction To Modelling
    • Our Data Models
    • Adapting Our Management Page To Be Multi-Tool
    • Creating The Manage Books Page
    • Adding Search To Our Front Index Page
  • Week 7: Working with Selects, Files, WYSIWYG and more.
    • Adding WYSIWYG Capabilities
    • Adding WYSIWYG to the Manage Books Tool
    • Adding Images To Our Store
    • Creating Our Publisher Select Control
  • Week 9: Joins and Better Searching
    • Displaying Our Publisher
    • Searching By Publisher
    • Creating a Browse by Genre
      • Adapting Our Database
      • Building our Queries: Part 1
      • Assigning Genres to a Book in our AddEdit.bxm page
      • Building our Queries: Part 2
      • Building the GenreNav.bxm
      • Adapting The Details.bxm Page to Search By Genre
  • End of Project Checkllist
Powered by GitBook
On this page
  1. Week 1: Software and Setup
  2. Git: Github

Cloning a Repo from Github

PreviousCloning and ForkingNextPushing Changes to Github.com

Last updated 4 months ago

Goal: By the end of this document, you’ll be able to clone a repo from onto your local machine.

If you find a repo you want to use (or have created your own on in your own repo and want to start using it), the next step is to CLONE that repo to your local machine. Cloning, just like in biology, is creating an exact copy of the repo in another location. In this case we are going to clone the repo you created for your exercises in the onto your local machine.

  1. Log into your account.

  2. Go to the home page for the repo you created. You should see the content of the README.md file if you checked the box during the creation process. You should see something like this:

  3. Open SourceTree.

  4. In SourceTree, click on the + sign at the top of the screen then choose Clone from the icon bar

  5. Back on Github, click on the green <> Code button.

  6. Copy the entire URL under the HTTPS tab. If you click on the 2 squares icon, it will copy the URL to your clipboard.

  7. Back in Sourcetree, paste that URL into the top textbox in the Clone screen.

  8. Browse to you the folder where you want to clone your site. If you followed the suggestion in setup this will be Sites\UML\WebDataImplementation and create a new folder called ongoingWork. Note: the image is for a demo, the domains and folders may be different from yours.

  9. Click on Clone and the repo will be copied to your local machine.

  10. Open the ongoingWork folder in File Explorer or Finder and you’ll see the file and the .git folder (which might be hidden)

Github.com
View Video
Git: Creating a Repo on Github
Github.com
Folder Structure
README.md