TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How would you describe a commit?

1 点作者 samuelstros9 个月前
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?

4 条评论

ilkhan49 个月前
I would describe it as a stopping point, or a chunk of work that represents a finished step (however you define a step).
pipesorter9 个月前
People 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?).
评论 #41191611 未加载
samuelstros9 个月前
Things we discussed:<p>- a commit is somewhat a &#x27;save&#x27; but unlike a &#x27;final_v1.docx&#x27;<p>- a commit prevents changes from being overwritten
PaulHoule9 个月前
Like taking a snapshot with a camera?
评论 #41191368 未加载