Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 1.88 KB

File metadata and controls

48 lines (29 loc) · 1.88 KB

University of Toronto Carpentries Community Git & Github Workshop 👩🏻‍🏫

  • This workshop introduces users on how to use git and create their first pull request.
  • I created a repo with haiku poems and walk attendees through the process of adding their own haiku poems to the repo.
  • Attendees do not need to have any prior knowledge to attending the workshop.

What is Carpentries?

  • A non-profit that teaches data and coding skills to build global capacity in essential data and computational skills.
  • More information about them can be found here.

Where can I find the slides?

  • The slides for the workshop can be found here.

Workshop Steps for Participants

  1. Open your terminal and clone the repository to your local machine. You can clone the project by running this command.

git clone https://github.com/rwangca/git-workshop.git

  1. Navigate inside the git project folder using cd git workshop

  2. In the terminal, create a new branch by running this command git checkout -b (your_firstname_lastname)

  3. Open http://www.everypoet.com/haiku/ generate your own haiku poem by clicking New Haiku.

  4. Copy the haiku text and place it in a text editor like notepad++ or sublime text.

  5. Save the file as a .txt file type.

  6. Using the terminal, type git status and you will see some highlighted text which notify you of changes made to the project.

You will see the name of the file you created listed.

  1. Add your files to the project and push it to the remote project.

    git add *file_name*
    git commit -m "Adding my haiku poem"
    git push
    
  2. Navigate to the project page on the Github UI and create a pull request.

  3. I will review your pull request and merge it!

  4. You're done! Congratulations! 🎉🎉🎉