master more 是一个发布分支还是一个开发分支?
Is master more a release or a development branch?
根据 git-flow,master
仅包含版本。但是,在 GitHub 上,master
分支看起来更像是一个开发分支。
在Git的原始概念中,master
更多的是release还是development分支?我应该期望我的 master
分支总是建立吗?
在 this 中非常有趣的答案看起来 master
不应该是 production-ready 分支,而是大多数操作的默认分支。这与 git-flow
不太兼容
没有"Git's original concept"这样的东西。
所有 git-flows 都是人们为方便起见而使用的约定。
根据Git's official documentation on branches
The “master” branch in Git is not a special branch. It is exactly like any other branch. The only reason nearly every repository has one is that the git init command creates it by default and most people don’t bother to change it.
换句话说,master可以是任何你想要的。在创建 Git 之后,一些约定和 workflows 开始出现,您可以自由遵循(或不遵循)。
根据 git-flow,master
仅包含版本。但是,在 GitHub 上,master
分支看起来更像是一个开发分支。
在Git的原始概念中,master
更多的是release还是development分支?我应该期望我的 master
分支总是建立吗?
在 this 中非常有趣的答案看起来 master
不应该是 production-ready 分支,而是大多数操作的默认分支。这与 git-flow
没有"Git's original concept"这样的东西。
所有 git-flows 都是人们为方便起见而使用的约定。
根据Git's official documentation on branches
The “master” branch in Git is not a special branch. It is exactly like any other branch. The only reason nearly every repository has one is that the git init command creates it by default and most people don’t bother to change it.
换句话说,master可以是任何你想要的。在创建 Git 之后,一些约定和 workflows 开始出现,您可以自由遵循(或不遵循)。