是Git的“主人"吗?分支机构的名称不仅仅是一个名称? [英] Is Git’s "master" branch name more than just a name?

查看:41
本文介绍了是Git的“主人"吗?分支机构的名称不仅仅是一个名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Git的新手,我想知道Git的"master"分支是否只不过是一个名字?
我不会这么想的,直到我看到人们采取 努力合并回去而不是任何分支他们都感觉到自己的主要分支,但到了一个名为主"的分支.

I am new to Git and I wonder if Git's "master" branch is anything more than a name?
I would not have thought so, until I saw people taking efforts to merge back not to any branch they feel their main branch but to the one named "master".

它有什么特殊功能吗?还是和其他分支一样好?
我当然看过文档,但是"master"分支的存在总是被视为给定的.

Does it have any special functionality? Or is it just as good as any other branch?
I did of course look at documentation, but the presence of the "master" branch is always treated as a given.

推荐答案

这是新存储库的默认分支名称,因此,尽管在技术上并不特殊,但在大多数情况下具有特殊的状态.

It's the default branch name for a fresh repository and therefore, while not technically special, has a special status in most cases.

人们经常将其用作稳定"分支.

People often use it as the "stable" branch.

这篇关于是Git的“主人"吗?分支机构的名称不仅仅是一个名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆