Locked lesson.
About this lesson
Learn how to work with version control, restore old versions, and convert minor versions to major versions.
Exercise files
Download this lesson’s related exercise files.
4.07 version-control - Exercise.docx62 KB 4.07 version-control - Exercise solution.docx
60.2 KB
Quick reference
Version Control
Version control helps us keep track of the different iterations a document goes through and restore previous versions if required.
When to use
Keeping track of versioning is helpful whenever a document is being modified and updated by lots of people as it allows us to view the document during each step of the modification process and roll back changes if required.
Instructions
We can specify if we want to keep track of major versions or major and minor versions. A major version of a document would be 'version 2' whereas a minor version would be 'version 2.1'.
Review Versioning Settings
- From the document library, click the cog icon in the top right-hand corner.
- Click Library Settings.
- Click Versioning Settings.
- From the Document Version History section, select Create major versions.
Adding a Version Column to the Library View
To keep track of a document's version, it's helpful to add a version column to the library view.
- From the document library, click All Documents.
- Select Edit current view.
- Place a checkmark next to the Version column.
- Click OK.
We can now see the version number for each file in the document library.
- Click on a document that has multiple versions.
- Click the three dots and select Version history.
Now we can see all versions of the document. Click on the link to see a preview of the document version.
Restoring an Older Version
- Click the drop-down arrow next to the relevant version and select Restore.
The restored version doesn't overwrite any existing versions. The restored version will be assigned the next version number.
Creating Minor Versions
- Click the cog icon and select Library Settings.
- Click Versioning Settings.
- From the Document Version History section, select Create major and minor versions.
- Click OK.
- Go back to the document library.
- Open one of the documents and make a small change.
- Close the document.
Look at the new version number for this document. Instead of a major version e.g. 5, we now have a minor version e.g. 5.1.
Converting Minor Versions to Major Versions
Minor versions are used when a document is in its draft stage and lots of small changes are occurring. We can convert a minor version to a major version.
- Hover the mouse over the document and click the three dots.
- Select More from the menu.
- Click Publish.
- Add comments if required.
Lesson notes are only available for subscribers.