Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 2.2 KB

README.md

File metadata and controls

45 lines (32 loc) · 2.2 KB

Quiz Form

Adding existing files to GitHub

This repository (repo) was built to show you one method to include pre-existing files into a new repo. While it is not the most direct way, it is easier to understand with the toolset that we currently have access to.

The workflow outlined in the readme below will be utilized for every assignment/task/project for the course so understanding how and why is super important. If you have any questions please feel free to email [email protected]

Assumptions we are making

Migrating your Quiz Form to GitHub

Step 1 - Fork this repo

  • Go to GitHub and fork this repo to your account

Step 2 - Clone your repo

  • Copy the link from your github account for your Quiz Form repo
  • Navigate to your sandbox folder
  • Open up your terminal / git bash to your sandbox folder
  • Clone your repo
    • git clone [your repo name]

Step 3 - Navigate to the newly created folder

  • In your file system (finder / explorer) navigate to the newly created "quiz" folder

Step 4 - Copy your files from your original 'quiz form' to your git Quiz

  • Copy the files, not move, though it wouldn't matter tremendously.
  • Make sure to only copy the files related to the Quiz Form assignment.

Step 5 - Commit your files to your repo (See here if you need a refresher

  • Go to your terminal / git bash
  • Add your new files to git
    • git add .
  • Commit your files to git
    • git commit -m '[your git commit message here]'
  • Push your files
    • git push origin master

You have done it! Your Quiz has now been added to your github account

  • Please note that text surrounded with brackets "[]" is meant for you to substitute your own corresponding value into the area, without the brackets. For example: "hello [your name]" would become "hello John" if your name was John.