In this workshop you will work in pairs and implement small features in the js files found in this repo and you will work in branches and use Pull Requests on Github to integrate these changes into the main branch.
Do the following steps to prepare the working environment for the workshop. You will be working in pairs, so one repo/ 2 sudents are enough.
- Select Use this template.
- Select Create a new repository.
- Select your Github account for the Owner.
- You can name the repository as you want, it will be created with this name in your account.
- You can choose public or private repo. I would recommend private, because it is not a project just an exercise, maybe you don't want to everybody see it.
- You can keep include all branches unchecked.
- Click on the create repository
Navigate to your newly created repo in your Github account.
- Click to repo Settings tab.
- Click to Collaborators on the sidebar.
- Use the Add people button to add your peer as a collaborator to your repo.
- Clone you and your peer the repo as usual.
- Click on the Extensions pane in VS Code
- Search for "Git Graph" VS Code Marketplace: Git Graph
- Install and Enable it.
The workshop consists of three sections (found in folders 0, 1, and 2). In each section, both people of the pair will implement a feature on a separate branch and use pull requests on github to integrate these changes into the main branch.
In the folders 0 and 1, the members will work in separate files, but in folder 2, both tasks are in one file.
The following steps should be followed when solving a section:
- Create feature branch (and checkout that branch)
- Implement the solution
- Commit
- Push
- Make Pull Request on Github
- Review, and if good, then merge the other person's Pull Request.
- When your feature was merged on github, then checkout the main branch and pull


