Now comes the fun part! You will create something that sounds simple: an alphabetical list of all the workshop participants on GitHub. Below are few rules:
-
Name Submission: Each participant can only enter their own name. To do this, each participant will create a branch in the shared repo . The branch should be named in the format
FirstName_LastName
. In this branch, you will write your name (FirstName LastName) in theREADME.md
. -
Binary Tree Structure: The list must be compiled as a binary tree. Pair up with another participant and merge both lists into one of your branches. You will need to use
git fetch
, keeping in mind that your partner's branch is a remote branch. Together, resolve any conflicts and ensure the list is alphabetized. -
Merging Pairs: After pairing up, merge the result with another pair. The participant whose name appears earliest in the alphabet is responsible for merging into their branch. Ensure the list remains alphabetized after resolving conflicts. At this stage, you will have a list of four participants.
-
Final List: Continue merging until you have the final list of all participants. Merge that into the master branch.
-
Verification: Use git log --graph to verify that you have followed the binary tree structure
-
Cloning: The easiest way to get started is to clone our GitHub repository.
The idea for this tutorial was developed by Samuel Coulbourn Flores for the MedBioInfo course. It has been adapted for use in this workshop.