10.5 "Git Internals - The Refspec" misleading about what "refspecs" are

Đang mở
#1,999 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
48/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

Locate the Pro Git source for section 10.5, “Git Internals - The Refspec,” and compare it with the rendered website or PDF. Review the title and surrounding text for the requested refspec terminology and definition, then verify that the updated section renders correctly in both book formats.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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:

Section 10.5 Git Internals - The Refspec of the book can be misleading/confusing about "refspecs". I did not know/remember anything about refspecs last week, but visibly, the title itself has a couple issues:

  1. The section itself has several mentions of "multiple refspecs" as well as the "default refspec", so the title should visibly read "Refspecs", not "The Refspec".
  2. A look at git pull --help suffices to see several leaks (more than 5 references to refspecs as of Git 2.47). If refspecs were meant to be an internal, they are clearly far from having reached that status.

Of course, defining refspecs would help.

Steps to reproduce:

This does not report a behavioral bug.

Expected behavior:

This does not report a behavioral bug.

Screenshots:

No response

Additional context:

No response

Device

No response

Operating system

No response

Browser/application + version

No response

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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của progit/progit2

Tất cả issue của progit/progit2

Issue tương tự

Thêm issue về Documentation

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.