3 ms·
Ask HN: How would you describe a commit?
Assume that you are introducing the concept of version control and committing to a non-dev audience; how would you describe what a commit does?
- PaulHoule 2y agoLike taking a snapshot with a camera?
- samuelstros 2y agoDoesn't make click for me. Snapshot is a VCS term that seems to have a different meaning in photography. From Wikipedia "A snapshot is a photograph that is "shot" spontaneously and quickly, most often without artistic or journalistic intent and usually made with a relatively cheap and compact camera."
- samuelstros 2y agoThings we discussed: - a commit is somewhat a 'save' but unlike a 'final_v1.docx' - a commit prevents changes from being overwritten
- ilkhan4 2y agoI would describe it as a stopping point, or a chunk of work that represents a finished step (however you define a step).
- pipesorter 2y agoPeople are familiar with Draft (email or blog) state and Send or Publish state. I would go with email analogy. So I would describe commit similar to sending an email after drafting in a thread. Here I also could undo anytime and make it a draft. Similar to forward I can clone a thread (branch out?).
- samuelstros 2y agoIsn't sending an email publishing (in version control terms CI/CD deployment)?