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]
- You have Git installed on your system. How do I know if git is installed?
- You understand how to add files, commit, and push in git
- Go to GitHub and fork this repo to your account
- 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]
- In your file system (finder / explorer) navigate to the newly created "quiz" folder
- 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
- 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.