Info |
---|
Split into two teams (team sizes can range from 1 - 3).Team 1 must set the project up (locally). It should be an empty maven project with NO code. Team 1 should also create a git repo on the cloud. Once team 1 have created the cloud git repo they should invite team 2, team 2 should get an invite from team 1 join the git You will need two git accounts. A root account where team 1 create the main project repo and to which all other teams get invited. Other teams create their own accounts. Team 1 on a suitable location on a machine create the main project (git init and some kind of project structure - files and folders) and link it to the root git repo (git remote add origin…). This becomes team 1’s repo, and also the main repo. Team 2 should create the git repo in the cloud. Team 2 should have received an invite from team 1 to join their repo. They should join the team 1’s repo. Finally team 2 should clone the shared project - this can be through a git clone or git pullto team 1’s repo, and should have accepted the invite. Team 2, using their own git account should git clone their version of the repo on their own machine. So the same project (git repo) is available in two git repos and on two different machines, each local git repo is tied to different git account i.e. having different ORIGINS. |
Activities
Team 1
Create the following piece of code
...