Lab 1 Even Player Instructions

5-word short stories, GitHub edition

Your partner is ODD. Since they’re so ODD, they’ll be responsible for doing all the initial set-up and adding the 1st, 3rd, 5th, 7th and 9th,h contributions to your short story.

You, since you are EVEN and not as ODD as your partner, will be in charge of the 2nd, 4th, 6th...(you get the idea)...through 10th contributions, and finishing the process through making a pull request into the master repository.

Step 1: Get in a zoom breakout room with your partner, and wait. Your partner’s got a lot of set-up work to do, and you shouldn’t judge them too harshly if it takes a while!

Step 2: Check your email until you get a notification that your partner has added you as a collaborator to their new, forked copy of the GitHub repository. Accept the invitation once you get it!

Step 3: Clone the repo to your computer. Make sure that you’re cloning the repo on your partner’s GitHub, not on izzy-shehan's GitHub. This is the copy that they forked, and added you as a collaborator on. (As a reminder, cloning creates a copy on your local computer of the GitHub repository you just saw in the cloud).

Step 4 : Wait for your partner to let you know that they’ve made their first commit and push. You can “git pull” to see if they’ve done this, but it’s probably just easier to ask them! If your terminal says “already up to date” after a pull, that means they haven’t changed any files yet.

Step 5: Pull your partner’s new text file, once they’ve pushed it to the cloud! Using “git pull” will add their new text file into your local copy of five-word-stories.

Step 5 : Check what files are in the newly-pulled copy of the five-word-stories repository using the “ls” command (that’s an L, not an i.) . If your partner did their job correctly, there should be a .txt file with your names somewhere in the title.

Step 6 : Begin editing the file through the command nano <whatever-they-named-it>.txt. Your partner should’ve written 5 brilliant, super hilarious words in this file! Now it’s your turn to do the same. When you’re done, use the keyboard shortcuts shown at the bottom of the nano window to write out and exit the file. If you're having trouble exiting the nano editor,

(Note: nano may not work for Windows users. If it says command not found, try notepad <your-filename-goes-here>.txt to open and add the file in notepad. If all else fails, navigate directly to the file through your OS’s file manager and edit it directly in your preferred text editor.)

Step 7 : Add your file to the commit with “git add name-of-your-file.” This will make sure the new file gets included in your commit!

Step 8: Check that your file has been added using the “git status” command. The name of your file should be green, or otherwise indicate that it’s staged for a commit!

Step 9 : Commit your changes with git commit -m “your message here.”. Say something like “Commit #1” in your commit message to help you and your partner keep track as you go.

Step 10 : Push your changes to you and your partner’s repo using the command “git push”. They will be waiting eagerly to see wh

Step 9 : Repeat. Keep pushing back and forth until you’ve each committed 5 times, and your story is exactly 50 words. You should be the last commit.

Step 10 : Pull request. Like you learned in git-it, go to your github account online and make a new request for me (Izzy, izzy-shehan) to pull your partner's forked branch back into the master repository. I (Izzy) will then do this, and all (3) of your stories will be in the same place. Yay!

Guidelines for excellence in creative writing

  1. No deleting words!! You've gotta work together, find that sYnErGy

  2. No more and no fewer than 5 words may be added in any commit. There must be exactly 10 total commits, bringing the final story to 50 words.

  3. Anyone can add any punctuation at any time. Punctuation marks do not count as words. Punctuation marks have never counted as words!

  4. Being appropriate is required, being funny is welcome.

Last updated