Exercise: Too Many Cooks in the Kitchen
Preparation
- Accept the invitation to
espertusnu/cs3100-github-exercise. - Open your browser to https://github.com/espertusnu/cs3100-github-exercise.
- Clone the repository in VS Code.
- Open the project in VS Code (although you can make changes directly on github).
Process
- Look over the repository contents.
- Create an issue either– proposing a new recipe
– proposing a change to a recipe - Assign the issue to yourself.
- Create a branch with a meaningful name, such as
add-pineapple-to-pizza– in VS Code GUI
– in terminal:git checkout -b add-pineapple-to-pizza
– on github [instructions online] - Add/change the appropriate file.
- Commit your change with a meaningful message (
Add pineapple #67). - Push your change.
- Go through the PR process on github [next slide].
Pull Requests
- Create a pull request (PR) from your branch to
main. - Make sure it contains the correct changes.
- Include
Closes #67in the PR description. - Ask someone to review it.
- Make any changes they request.
- Once they approve it, squash and merge it, and delete the branch. (This only deletes the branch from github, not from your computer.) You may have to deal with merge conflicts.
- Make sure the issue is marked closed.
Help your classmates by reviewing their PRs.
Bonus Slide
