Sub topic 10
Track your versions
This chapter assumes you already have a rough first draft and have done at least one revision pass. You should know the difference between a draft (work in progress) and a version (a saved state you can return to). Here you will learn how to keep those saved states so that nothing you try is lost and you can always see what changed.
Why tracking matters
Without tracking, revision tends to fail in a few predictable ways:
- You overwrite a passage you later wish you had kept.
- You cannot remember which file is the latest, so you end up with names like
story_final_v2_REAL.md. - You cannot compare two options, because only one of them still exists.
- You lose the reason for a change, and so you undo it by accident later.
Tracking solves these by turning each meaningful state of the work into a named, recoverable version. You do not need special tools to start. You need a rule about when to save a version, a naming scheme, and a place to keep them.
Decide what counts as a version
Not every edit deserves a version. Fixing a typo is a draft-level change. A version is created at a boundary, when the work reaches a state you might want to return to or compare against.
Good moments to create a version:
- You finish a complete first draft.
- You complete a revision pass that had one goal.
- You are about to try something risky, such as cutting a large section or changing the structure.
- You receive feedback and want a snapshot of what the reviewer saw.
- You branch off to explore an alternative.
A useful test: "Would I be upset if I could not get back to this exact state?" If yes, save a version.
Three levels of tracking
You can track versions at different levels of effort. Choose the lowest level that meets your needs.
| Level | Method | Strength | Weakness |
|---|---|---|---|
| Manual copies | Save files with version numbers in the name | No setup, works for any file type | Easy to mislabel, hard to see differences, clutter |
| Built-in history | Use the version history of your editor, document tool, or design app | Automatic, visual | Often limited retention, rarely lets you name or compare freely |
| Version control | Use a system such as Git | Exact comparisons, branches, full history | Works best for text, has a learning curve |
Manual copies suit a single designer or musician working with large binary files. Version control suits text-based ideas such as stories, scripts, specifications, and code, because it can show line-by-line differences.
Naming versions
A clear naming scheme prevents confusion. Follow these rules:
- Use a number that always increases:
v1,v2,v3. Avoid words like "final" or "latest", because they stop being true. - Keep the name of the work the same and change only the version marker, for example
lighthouse-story-v3.md. - Use a short suffix for variations, such as
v3-alt-ending, so that a variation is clearly related to its parent. - Record the date if the work spans many weeks, since a number alone does not tell you when something happened.
Do not rename old versions after the fact. Stable names let your change log refer to them reliably.
Tracking with manual copies
For a design file or audio project, the simplest approach is a folder of snapshots:
lighthouse-cover/
cover-v1.psd
cover-v2.psd
cover-v3.psd
cover-v3-alt-colors.psd
CHANGELOG.mdAlways copy first, then edit the copy. If you edit the file and copy it afterward, you have saved the new state and lost the old one. The CHANGELOG.md file is the change log from the next chapter; keep it in the same folder so the two stay together.
Tracking with version control
Git is a version control system. It stores a series of snapshots called commits. Each commit has a message you write, and you can attach a readable name, called a tag, to any commit. The example below creates a repository (the folder Git tracks), saves two versions, and compares them.
git init lighthouse-story
cd lighthouse-story
# Save the first complete draft as a named version
git add story.md
git commit -m "v1: first complete draft"
git tag v1
# After revising the opening, save the second version
git add story.md
git commit -m "v2: open with the storm, cut backstory"
git tag v2
# See exactly what changed between the two versions
git diff v1 v2Before the first git add, story.md must exist inside the lighthouse-story folder. Otherwise Git reports that the path does not match any files.
What each command does
git initcreates the repository.git addselects which changes go into the next snapshot.git commitrecords the snapshot with your message.git taggives that snapshot a stable name such asv1.git diff v1 v2prints every line that was added, removed, or changed between the two tagged versions.
The commit message should state the goal of the pass, not just "edits". A message such as "v2: open with the storm, cut backstory" tells you the intent when you read the history months later.
Branches for variations
When you want to try an alternative without risking the main work, create a branch. A branch is a separate line of history that starts from a chosen version. Changes on it do not affect the main line until you decide to merge them.
# Try an alternative ending without touching the main line of work
git switch -c alt-ending
# ...edit story.md, then save the experiment
git add story.md
git commit -m "alt: ending where the keeper leaves"
# Return to the main version
git switch -After git switch -c alt-ending, you are on the new branch. git switch - takes you back to the branch you were on before. Your main version is exactly as you left it.
If you prefer the alternative, you can bring it into the main line with git merge alt-ending. If you do not, leave the branch alone. It costs nothing, and you may want it later.
Common errors
These mistakes are frequent when people start tracking versions.
- Versions that are too large. If a version contains three different goals, you cannot tell which change helped or hurt. Keep one goal per version, as in the revision pass chapter.
- Versions that are too small. Saving after every sentence produces noise. Save at boundaries, not at every keystroke.
- Forgetting to commit before experimenting. Changes you have not saved are not protected. Commit, then branch or edit.
- Committing without a message that explains intent. Later you will see that something changed but not why.
- Using "final" in a name. Work is rarely final on the first try, and the name becomes misleading.
- Putting large binary files in Git. Git can store them but cannot show a meaningful diff, and the repository grows quickly. For images, audio, and video, use manual snapshots or a tool designed for large files.
- Tracking only the output. Keep your notes, feedback, and change log with the work, so that the context of each version survives.
Recovering an earlier version
The point of tracking is that you can go back. With Git, you can view an old version without altering your current one:
# See the list of saved versions
git log --oneline
# Look at the file as it was in v1, printed to the screen
git show v1:story.md
# Restore that old file under a new name, leaving the current file alone
git show v1:story.md > story-v1-restored.mdThis approach is safe because it reads from history and writes to a new file. Nothing is overwritten.
A practical routine
Combine the ideas above into a short routine you can repeat on any project:
- Save a version when you complete a draft or a revision pass.
- Name it with the next number and a short statement of its goal.
- Before a risky change, save a version or create a branch.
- After feedback, save a version that matches what the reviewer saw.
- Write a change log entry for each version, covering what changed and why.
Exercises
Exercise
You have a finished first draft of a song lyric in a text file. You want to rewrite the chorus, but you are not sure the new chorus will be better. Name two ways to protect the original and say what you would do first in each.
Show answer
With manual copies, first copy the file to a new name such as lyric-v1.txt, then edit the new copy or the original working file. With Git, first commit the current state with a message and tag it v1, or create a branch such as new-chorus before editing. In both cases the original is saved before any change is made.
Exercise
A colleague names their files report_final.docx, report_final2.docx, and report_final_REAL.docx. List two problems with this scheme and propose a better one.
Show answer
The names do not show order, so you cannot tell which is newest, and "final" stops being true as soon as another change is made. Use an always-increasing number, such as report-v1.docx, report-v2.docx, report-v3.docx, and record the goal of each version in a change log.
Exercise
You run git diff v1 v2 and see that 40 lines changed, including the opening, the ending, and the names of two characters. What does this suggest about how the version was made, and what would you do differently next time?
Show answer
It suggests that the revision pass had several goals at once, so you cannot tell which change helped or hurt. Next time, give each pass one goal, for example change only the opening, and save a version after each pass.