Incorrect description of git pull behavior in Chapter 3.5 of Pro Git book V2
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 58/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- git
调研方向
Locate the Pro Git v2 source for Chapter 3.5, “Git Branching - Remote Branches,” and find the “Pulling” section. Update the statement so it clearly says that git pull merges the fetched remote branch into the current local branch, then verify the wording in the generated book output.
由索引模型根据 Issue 内容生成。
描述
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:
The Pro Git v2 book contains a misleading statement about the behavior of git pull in Chapter 3.5
link: https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches
The current statement is:
"git pull will look up what server and branch your current branch is tracking, fetch from that server and then try to merge in that remote branch."
This implies that the merge happens in the remote branch, which is incorrect. The correct behavior is that the merge happens in the local branch.
Steps to reproduce:
- Go to https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches
- Scroll down to "Pulling" section
- See error
Expected behavior:
Current Statement:
"git pull will look up what server and branch your current branch is tracking, fetch from that server and then try to merge in that remote branch."
Corrected Statement:
"git pull will look up which server and branch your current branch is tracking, fetch from that server, and then try to merge that remote branch into your current local branch."
Screenshots:
Additional context:
Location:
Chapter 3.5, Section Pulling
Link: https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches
Device
desktop
Operating system
macos
Browser/application + version
google chrome
- 主要语言
- CSS
- 星标
- 6.6k
- 派生
- 2.1k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
progit/progit2 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
-
enhancement
难度 1/5 1 小时以内 新手友好度 82/100
-
enhancement
难度 1/5 1-3 小时 新手友好度 65/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
CopilotKit/OpenDots#55 ·
维护者通常 1 天内回复
-
Security SecurityBundle
难度 2/5 1-3 小时 新手友好度 68/100
symfony/symfony-docs#23173 ·
维护者通常 3 天内回复
-
OSCI'26
难度 2/5 1-3 小时 新手友好度 68/100
GauravKarakoti/SecureFlow#1215 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
containers/bubblewrap#813 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
szTheory/exifcleaner#383 ·
维护者通常 1 天内回复