Easier to read with cream paper, a tint, more contrast or larger text? Choose your colours and text, once, for every page.

Free lesson

5.4 (3 of 8): Recording a change, training and version control

The whole lesson, free. Read it and have a go at the activities. To work the tasks and labs in the real lesson, press Start lab, with no account needed.

50 minutes

A quick check that you are not a bot, then your own lab opens on the interactive lesson.

Already have an account? Sign in

Who changed the price rule?

In March, a developer changed the rule that sets delivery prices. In June, customers began to complain. Prices were wrong.

The manager asks: who changed it? Why? Who approved it? Can we go back?

Nobody wrote anything down. The change took one hour to make and three weeks to understand.

Key words

WordWhat it meansExample
DocumentationWritten records about what was done and why.A change record
RequirementSomething a system or change must do.Customers must be able to pay by card
TraceabilityFollowing a change back to its reason and its owner.This change came from request 14
AccountabilityHaving to answer for a decision.The manager who approved it
Refresher trainingA short course that reminds people of a skill.A yearly reminder on security
ReviewA look back to see how well something went.A meeting after a change
Version controlSoftware that records every change to files, who made it and why.A tool that keeps every version of a file
BranchA separate line of work for trying a change safely.A branch for trying a new price rule
CommitA saved step in the history, with a message.Add change note

The cells students fill in are left blank in this preview.

Quick check: the price rule

Have a go

Quick check: the price rule

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Write the change down as it happens

Write the change down as it happens. A good record has five parts.

Traceability: which request the change answers, who is responsible (does the work) and who is accountable (answers for it). Up-to-date information as plans change. A log of every decision. The change documents, kept for as long as they are needed. And training manuals for users.

Keep all of it, so you can find it years later.

What to record

RecordWhat it holdsWhy it matters
Requirement traceabilityWhich request each change answers. Who is responsible and who is accountableYou can show why it was done and who owns it
Up-to-date informationThe plan, the test results and the dates, kept currentEveryone works from the latest facts
A log of decisionsEvery yes and no, with the date and the reasonNobody has to guess what was agreed
Kept change documentsThe forms and reports, kept for as long as the organisation needs themProof when somebody checks the work
User training manualsStep-by-step guides for people who use the new systemUsers learn the right way

The cells students fill in are left blank in this preview.

Which record is it?

Have a go

Loading…

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Plan the training, then review progress

Users need to learn the new system. Work out what training they need. There are new training needs for new skills. There are also refresher courses for skills people already have but may forget.

Then watch how the change is going. A post-progress review is a look back after the change: what worked, what did not, what to do next.

Training and review

WhatWhenExample
New trainingBefore or at the start of the changeA class on the new ordering screen
Refresher trainingAfter some months, or after updatesA short video each year on data safety
Post-progress reviewWhen a stage or the whole change endsA meeting: Did we meet the SMARTER goals? What next?

The cells students fill in are left blank in this preview.

Scenario: the new till

Have a go

Scenario: the new till

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Version control keeps every change

Version control software keeps the history of a project. Every change is a commit, with who made it, when and why.

A branch lets a developer try a change without touching the main line. If it works, the developer adds it to the main line. If not, they throw it away.

It is also a way back: you can get any older version again.

What version control gives you

It gives youWhat that meansExample
A historyEvery change is saved with who made it, when and whyWho changed the delivery price rule in March?
A way backYou can get an older version againGo back to the rule as it was in February
A safe place to tryA branch keeps a new idea apart until it worksTry a new price rule without touching the live one

The cells students fill in are left blank in this preview.

Scenario: version control

Have a go

Scenario: version control

3 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Extra: Try it: version control in a lab

Note

Press Start the lab on the bar at the top of this lesson. Wait until it says it is running. Then press Run on each command below, in order.

You make a copy of a small project, try a change on a branch, and then go back. The project has a history of two commits at the start.

Extra: Tell Git who you are

Command
git config --global user.name "Student" && git config --global user.email "[email protected]"

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: Copy (clone) the practice project

Command
git clone http://student:student@gitea:3000/student/hello-git.git ~/hello-git

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: Move into the project

Command
cd ~/hello-git

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: See the history: two commits

Command
git log --oneline

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: Start a branch for the change

Command
git checkout -b change-title

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: Make a note file and add it

Command
echo "Change request 1: new welcome title" > change-note.txt && git add change-note.txt

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: Commit it with a clear message

Command
git commit -m "Add change note for request 1"

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: The test fails: go back

Command
git revert --no-edit HEAD

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: See the history: four commits now

Command
git log --oneline

A command for the lesson’s lab terminal. It is shown here and not run.

Extra: Share the branch for review

Command
git push -u origin change-title

A command for the lesson’s lab terminal. It is shown here and not run.

Key words crossword

Have a go

Loading…

Your answers are marked here and are not kept. A college account keeps every student’s marks.

Watch: recording a change

Press Play on the short film below. It starts with the price rule that nobody wrote down. Then it goes through the five parts of a good record, training and review, and what version control gives you. Listen for the myth.

Film: recording a change, training and version control

Recording a change, training and version control

Every scene, as text

  1. Who changed the price rule? In March, a developer changed the rule that sets delivery prices. In June, customers began to complain (bad: prices were wrong). Nobody wrote anything down (bad: three weeks to understand).
  2. Myth (false): it is enough to remember a change in your head. That is not true. Write the change down as it happens (a tick beside it: true). Keep all of it (a good reason: you can find it years later).
  3. Documentation: written records about what was done and why. A good record has five parts: requirement traceability, up-to-date information, a log of decisions, kept change documents and user training manuals.
  4. Plan the training, then review progress. A class on the new ordering screen (what it is: new training). A short video each year on data safety (what it is: refresher training). A meeting: Did we meet the SMARTER goals? What next? (what it is: a post-progress review).
  5. Version control keeps every change. Who changed the delivery price rule in March? (it gives you: a history). Go back to the rule as it was in February (it gives you: a way back). Try a new price rule without touching the live one (it gives you: a safe place to try).
  6. The manager asks. Who changed it? Why? (traceability: back to its reason and owner). Who approved it? (accountable: answers for it). Can we go back? (version control: gives a way back).

Your turn: a change record

A college changes its attendance app. Fill in a change record in your own words. Write one line for each of these eight items. One: the request number and what is asked. Two: who is responsible. Three: who approved it, and when. Four: how it was tested. Five: the rollback plan. Six: the training needed. Seven: the date of the post-progress review. Eight: how version control helps. Then write two sentences about why a record like this matters.

A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.

Make a free account to save your work, or press Start lab to work through the whole lesson.

Final check

Have a go

Final check

5 questions
Have a go: your answers are marked here and then forgotten. Sign in if you would like your score kept, and to pick up where you left off.Sign in to keep your score

Teach this lesson with your class

On a college account your students work the tasks and the labs as well, and every mark is kept for you.