Enhancement of the explanation of the triple-dot syntax in 05 maintaining.asc
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 68/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- git
调研方向
打开 progit2/book/05-distributed-git/sections/maintaining.asc 的第 280 行附近,阅读其中关于 git diff 三点语法的相关说明。修改该句,使 branch 参数与三个点的顺序,以及与当前 branch 的显式比较,都不会产生歧义;确认示例与周围文本仍然一致。
由索引模型根据 Issue 内容生成。
描述
The sentence that describes the triple-dot syntax in 5.3 Maintaining a Project may be confusing
In the context of the
diffcommand, you can put three periods after another branch to do adiffbetween the last commit of the branch you're on and its common ancestor with another branch:
$ git diff master...contrib
The command example makes it clear. Also the contrib is mentioned earlier in the text as the topic branch.
English is not my first language, so it could look more confusing to me. The "another branch" slightly does not suggest that it should be written before the three dots (my point of view). Also, "the last commit of the branch you're on" suggests that the current branch could be an implicit argument -- and it is not.
The sentence is located in
progit2/book/05-distributed-git/sections/maintaining.asc
line 280
Regards,
Petr
- 主要语言
- CSS
- 星标
- 6.6k
- 派生
- 2.1k
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
progit/progit2 的其他 Issue
-
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
-
enhancement
难度 1/5 1 小时以内 新手友好度 62/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
agilepathway/label-checker#640 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
BasedHardware/omi#15662 · 1 条评论 ·
-
documentation help wanted
难度 2/5 1-3 小时 新手友好度 90/100
-
documentation good first issue
难度 2/5 1-3 小时 新手友好度 88/100
amponce/archive-movie-browser#167 ·
-
user-reported
难度 2/5 1-3 小时 新手友好度 85/100
Kong/developer.konghq.com#7316 ·