Sample solution
Half the marks here were for the process description, half for the A/B/F scenario.
Mostly the marks were pretty good, the only common issues were either
- not giving sufficient detail to make it clear the exact order of operations
and/or
- not having (or describing) sufficient constraints to ensure there weren't
easily avoidable clashes
|
Sample solution git clone csci:csci265/$USER/assignG |
Sample solution git remote add instructor csci:csci265/assignG git branch mywork git checkout mywork (also accepted some variants that combine the last two instructions) |
Sample solution git add X git add Y git commit |
Sample solution git checkout main git pull instructor main |
Sample solution git merge mywork |
Sample solution The attempted merge will have modified the content of X to include the conflicting lines from both versions, separated and marked using the <<<<<< ===== and >>>>> lines. To resolve the conflict the dev should modify X to keep the desired content (some blend of the two versions presumably) and removing the lines of <<<<< ======== >>>>>>>. The merge will complete once the file has been saved with those lines removed. |
Sample solution git push origin main (just git push would work too, since origin and main are the defaults for those arguments) |