rack_remote/master have changed to rack_remote/main

Đang mở
#1,967 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
Lỗi
Độ 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

Start at Git Tools -> Advanced Merging -> Subtree Merging in the Pro Git source, then run the three reproduction commands from the report against the rack remote. Update the example so its remote branch reference matches the current rack repository, and verify the corrected example appears in the website/PDF output.

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:

In Git Tools -> Advanced Merging -> Subtree Merging
Code in the example:
image

git checkout -b rack_branch rack_remote/master error occured:
fatal: 'rack_remote/master' is not a commit and a branch 'rack_branch' cannot be created from it

Steps to reproduce:
  1. git remote add rack_remote https://github.com/rack/rack
  2. git fetch rack_remote --no-tags
  3. git checkout -b rack_branch rack_remote/master
Expected behavior:

image

Screenshots:

No response

Additional context:

The reason is that rack_remote/master has changed to rack_remote/main
image

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.