Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Centralized workflows, chapt 5.1

未关闭
#1,963 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
38/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
停滞
技术栈
git
领域
documentation

调研方向

Start with chapter 5.1, Distributed Workflows, and review the two quoted paragraphs about centralized workflows alongside the reported merge-before-commit distinction. Clarify the comparison between Git and centralized version control in the book source, with the chapter's explanation making the differing workflows unambiguous.

由索引模型根据 Issue 内容生成。

描述

bug
There's no existing/similar bug report.
  • I have searched the existing issues
This report is about a single actionable bug.
  • I'm reporting a single actionable bug
This report is about the ProGit book, version 2, English language.
  • This bug is not about a translation or old version
Bug covers book website/pdf
  • I confirm the bug is about the book as found on the website/pdf
Problem is present in the Pro Git book on the website?
  • This bug also affects the Pro Git book as published on the website.
Which version of the book is affected?

Source files

Describe the bug:

I'm in the middle of translating this chapter to Swedish. I've read this section times and times again, and the comparisons don't add up for me:

This means that if two developers clone from the hub and both make changes, the first developer to push their changes back up can do so with no problems. The second developer must merge in the first one’s work before pushing changes up, so as not to overwrite the first developer’s changes. This concept is as true in Git as it is in Subversion (or any CVCS), and this model works perfectly well in Git.

If you are already comfortable with a centralized workflow in your company or team, you can easily continue using that workflow with Git. Simply set up a single repository, and give everyone on your team push access; Git won’t let users overwrite each other.

This gives the impression that Git functions the exact same way like a CVCS if you just give all contributors write access to a single repository. But, and this a honestly asked question that I don't have the answer to, would it really be possible to collaborate with Git and not have your own local repo? And first merge, then commit? For all I know, Git won't let you merge if you have any current changes that aren't committed.

So, the concept of having to merge changes is something you do in both systems, but not the approach (merge-before-commit vs commit-before-merge).

Steps to reproduce:
  1. Go to chapter 5.1
Expected behavior:

I was expecting a clearer distinction between a CVCS and DVCS.

Screenshots:

No response

Additional context:

No response

Device

No response

Operating system

No response

Browser/application + version

No response

主要语言
CSS
星标
6.6k
派生
2.1k
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

progit/progit2 的其他 Issue

查看 progit/progit2 的全部 Issue

相似的 Issue

更多 Documentation Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。