Using the GitHub website
In this section, we will be using the GitHub.com website and demonstrate that you do not need to be a programmer to use version control and edit files on GitHub.
Don’t have a GitHub account?
If you have not already created a GitHub username, please do so now:
- GitHub: https://github.com
- Follow optional advice on choosing your username
Our asks
As a Team of two
- Help each other, everyone is bringing different skills! Talk it out!
- Listen to each other; avoid judgment and solutioneering.
- Have fun!
Prompt
We want to log the information about people’s favorite desserts using a repository.
Person 1 (owner):
- Create a repository using the following these instructions steps 1-6
- Edit the README to:
- Replace the title (first line starting with
#
) with something better! MaybeFavorite Desserts
- Add your name and your favorite dessert below the title: e.g.
- Julien: crepes
- Replace the title (first line starting with
- Add Person 2 as a collaborator following these instructions
Person 2 (collaborator):
- Check your email to accept the invitation
- Go to the repository website (link is provided in the invitation)
- Start editing the README.md by clicking on pen at the top of the README.md file to edit it
- Add your name and your favorite dessert below the title: e.g.
- Sophia: chocolate
- Click Commit changes
- Add a descriptive commit message, “add my favorite dessert”
- Click Commit changes to confirm
Person 1: add a file
Download this csv file about your favorite desserts to your computer
- Just drag and drop it on the Github web page of your repository to upload it
- Add a short message about the file e.g.
Adding dessert csv
& hitCommit changes
- Your have has been uploaded. Click on the filename to see it!
You should have something similar to this repo: https://github.com/brunj7/favorite-desserts
Bonus
Person 2: Try to edit the csv file directly on GitHub!
Person 1: Your turn!
No need to be a programmer to contribute to analytical workflows with GitHub!!