Enhancement of the explanation of the triple-dot syntax in 05 maintaining.asc
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- git
- Lĩnh vực
- documentation
Hướng nghiên cứu
Mở progit2/book/05-distributed-git/sections/maintaining.asc quanh dòng 280 và đọc phần giải thích xung quanh về cú pháp ba dấu chấm của git diff. Sửa lại câu để thứ tự của đối số branch và ba dấu chấm, cũng như phép so sánh tường minh với branch hiện tại, không còn mơ hồ; xác nhận rằng ví dụ và phần văn bản xung quanh vẫn nhất quán.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- CSS
- Star
- 6.6k
- Fork
- 2.1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của progit/progit2
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Semi-stale link for GitHosting Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
-
enhancement
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
Tất cả issue của progit/progit2
Issue tương tự
-
user-reported
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Kong/developer.konghq.com#7316 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
HarperFast/skills#96 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
infinispan/infinispan#18150 ·
-
bug triage:deciding
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
open-telemetry/otel-arrow#4132 ·
-
Ecosystem: ClawMetry — the Qwen Code reader is now free and open source (follow-up to #9294 / #9338) Đang mởcategory/integration priority/P3 scope/documentation status/ready-for-human type/feature-request
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100