1. Home
  2. Docs
  3. Style Guide
  4. Updates and Maintenance
  5. Version Control

Version Control

Version control is the practice of managing and tracking changes to documents over time. It ensures that all changes are documented, allowing for better collaboration, easier identification of updates, and recovery of previous versions if necessary.

Importance of Version Control:

  • Maintain an accurate record of changes: Version control provides a clear history of all edits, additions, and deletions made to a document. This history helps track what was changed, why it was changed, and who made the changes.
  • Facilitate collaboration and prevent conflicts: By managing versions, multiple authors or editors can work on a document without overwriting each other’s changes. It helps to avoid duplication of work and ensures that all contributions are captured.
  • Enable rollback to previous versions: In case of errors or if changes need to be reversed, version control allows easy rollback to a previous version, minimising disruption and maintaining content integrity.

Best Practices for Version Control:

  • Use a consistent version numbering system: Implement a standardised version numbering system to differentiate between major, minor, and patch updates. A typical format might be “vX.Y.Z,” where:
    • X represents a major version change (e.g., substantial updates or rewrites).
    • Y represents a minor version change (e.g., new sections or content enhancements).
    • Z represents a patch or revision (e.g., typo corrections, small clarifications). Example: “v2.3.1” indicates the first patch of the third minor update to the second major version.
  • Include version information in the document header or footer: Clearly display the version number, date of the last update, and the author or editor responsible for the change in the header or footer of the document. Example: “Version 3.2.0 | Last Updated: 15 August 2024 | Editor: J. Doe.”
  • Maintain a changelog: Keep a changelog that records all changes made to the document, including the version number, date, description of the change, and the person responsible. This log can be a section at the end of the document or a separate file linked to the document.

Tools for Version Control:

  • Use version control software: Utilise tools like Git, Subversion (SVN), or document management systems with versioning capabilities to automate version control and maintain an accurate history of changes.
  • Implement version control in collaborative platforms: If using collaborative tools like Confluence, SharePoint, or Google Workspace, ensure that version history features are enabled to track all changes made by different users.

Dos:

  • Use a consistent version numbering format: Example: “v1.0.0 for the initial release, v1.1.0 for a minor update.”
  • Maintain a detailed changelog: Example: “Version 1.2.0 – Added troubleshooting section (J. Smith, 22 July 2024).”

Don’ts:

  • Don’t neglect to update version information: Always update the version number and changelog whenever changes are made.
  • Avoid multiple versions without clear identification: This can lead to confusion and the use of outdated or incorrect information.