Skip to content

Instantly share code, notes, and snippets.

@szemate
Last active February 19, 2022 14:29
Show Gist options
  • Save szemate/7512a69ccbe0a2434ae7b357e1c78a55 to your computer and use it in GitHub Desktop.
Save szemate/7512a69ccbe0a2434ae7b357e1c78a55 to your computer and use it in GitHub Desktop.
Git feature branch exercise

Feature branching exercise

The trainee who shares the screen

  1. Fork https://github.com/szemate/git-branching-demo
  2. Add the other trainees in the breakout room as collaborators (to the forked repository)

Everyone in the breakout room

  1. Confirm yourself as a collaborator
  2. Clone the repository (the forked one, not the original)
  3. Create a feature branch
  4. Modify server.js
  5. Commit and push your changes
  6. Open a pull request to main
  7. Review another trainee's pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment