Rename "master" branches?

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
git, github
Lĩnh vực
release

Hướng nghiên cứu

Read the discussion in this issue about renaming the project’s default branch and preserving old file links with Git symbolic refs. First determine whether the project has chosen a replacement name and whether GitHub’s default branch changes affect its repositories. The issue does not specify a change to make or a completion criterion; it needs a maintainer decision before implementation.

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

Mô tả

In the wake of recent events, several developers have chosen to rename the "master" branches on their projects, and GitHub has announced they will be changing the default branch name as well (although they haven't announced to what). It seems like "main", "develop", and "trunk" are all popular options.

Should we consider doing the same?

One problem with renaming branches is it breaks all existing links to files within repositories, however it appears that can be worked around via the use of git symrefs which allow the old name to point to the new name:

https://twitter.com/mountain_ghosts/status/1274060788580388868

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
13
Fork
4
Merge trung bình
41 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 RustCrypto/meta

Tất cả issue của RustCrypto/meta

Issue tương tự

Thêm issue về Release

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.