Info |
---|
Split into two teams (team sizes can range from 1 - 3). Team 1 must set the project up. It should be an empty maven project with NO code. Once team 2 have created the git repo, team 1 should get an invite from team 2 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. Once created team 2 should invite team 1 to join the repo. Also, once created, team 1 must push the empty maven project to this git repo (they cannot do this until have joined the repo from the invite).Finally team 2 should obtain a clone of the project team 1 created - this can be through a git clone or git pullreceived an invite to 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
...