iydon / iydon/sustechthesis

主分支是否可以更名设置为 `main`

Open
#61 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TeX
Stars
348
Forks
82
PR merge metrics
No merged PRs in 30d

Description

一个小问题,但是可能会造成混淆。

原因是 GitHub 以 zip 格式下载仓库文件时,默认会以 `仓库名-主分支` 命名。在尝试下载这个仓库时,会下载一个 `sustechthesis-master.zip` 的文件。

而当我后期从下载的文件里检索时,误以为先前下载的 `sustechthesis-master.zip` 是硕文论文模板仓库(`sustech-master-thesis`)相关的文件。

`sustechthesis-master` 造成了一定的歧义。 将主分支从 `master` 更名设置为 `main` 可以减少歧义,并且也符合近年来的开源社区习惯。

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the repository's GitHub default-branch setting and the ZIP naming behavior described in the issue. Confirm whether the default branch is currently master, then assess renaming it to main and verify that downloaded archives use the repository name with main.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github, latex
Domain
developer-experience
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.