Good morning, class! Today we are going to be writing a fairy tale! The rules are simple:
- Everyone adds one sentence to the story on a new line at the end.
- Only after you have submitted your sentence can you go back and edit it.
- You can not change some one elses sentence, unless to correct spelling, grammar, punctuation, etc., but you cannot change the meaning.
- When the story is "complete", we will print it out and take a vote on which class wrote the best story. The winner will get candy.
The URL for this repository is: https://github.com/swosu-comsc1033/Storytime-9am.git
- Using git clone, pull down the latest version of the repository on to your Desktop.
- First, you need to be on the Desktop within the cmd program.
- Click Start, then in the Search Box type
cmd
and hit Enter. - When the prompt opens up, type
cd Desktop
and hit Enter. - Now you're on the Desktop. Let's clone the repo. Type
git clone https://github.com/swosu-comsc1033/Storytime-9am.git
to do this. It will automatically create a folder on the desktop. - To access it, type
cd Storytime-9am
and hit Enter. - Now you can use the git commands to add your line, and commit your story submission.
- You can open the story in notepad, add your line at the end of the file and save it.
- Then, type
git add story.txt
and hit Enter. - The file is now in the staging area, but hasn't been committed yet. Let's commit it.
- Type
git commit -m "Use this space in between the quotes to describe your change"
and hit Enter. Remember, don't type what is in the quotes verbatim, be creative! - Now push your story to the repo. That is done by typing
git push
.