Skip to content
Utveckling

What is Commit?

Saving a change to your code history. Good commit messages save lives. "fixed stuff" does not.

A commit is when you save a change to your code's history. But it is more than ordinary "save" — each commit becomes a point on a timeline, with a description of what changed and why. It is like a project diary, entry by entry.

Think of undo in a text document, but far more powerful. With commits you can not only step back one move, but jump to exactly how the code looked on a given day months ago. Each commit is a restore point, like a save slot in a game where you can reload if something goes wrong.

Every commit includes a message explaining what was done. A good one like "Fixed discount codes not working at checkout" saves lives when someone later needs to understand the history. A vague "fixed stuff" does the opposite — the next person is left guessing.

Why do commits matter for your business?

Commits give confidence and traceability. If a new change causes problems, the developer can quickly see exactly what changed and roll back to a working state. Nothing is lost and nothing has to be rebuilt from memory.

They also create an explanatory history of the whole project. If a new developer takes over, or you wonder why something was done a certain way, the answers live in the commit history. That makes your system less fragile and easier to maintain over time.

Commit in practice

Say ZORC is working on a client system and an update causes a bug the next day. Thanks to commits, the developer can see exactly which change caused it and when it was made.

Instead of guessing or rebuilding everything, they roll back just the problematic change and keep the rest. The system is back up quickly. That is the everyday superpower of working with clear commits — the history is there when you need it.

Common questions about Commit

What does commit mean?

A commit is when you save a change to code history, together with a description of what changed. Each commit becomes a restore point on the project's timeline.

What is the difference between saving and committing?

Ordinary save just overwrites the file. A commit stores the change as its own point in history, with an explanation, so you can roll back to that exact moment later if needed.

Why do good commit messages matter?

Because they explain why a change was made. When someone later debugs or takes over the project, clear messages are invaluable — while a vague "fixed stuff" only creates guesswork.

Related terms

← Full glossary