gpt4 book ai didi

git - SVN 到 Git 分支/标签/主干

转载 作者:IT王子 更新时间:2023-10-29 01:26:27 27 4
gpt4 key购买 nike

我正在从 SVN 过渡到 Git(不过,我对 SVN 的尊重仍然存在),我对一些 SVN 到 Git 的术语有一些疑问。在 SVN 中,许多存储库都是这样设置的:

- trunk  : The place where all of the main development occurs
- tag : Storing versions of major releases or important milestones
- branch : Where smaller "branch" development occurs as to not conflict with the main development occurring in the trunk, then is later merged into the trunk

Git 中 branch/tag/trunk 的标准约定名称是什么?

感谢您的宝贵时间。

最佳答案

  • SVN 主干 --- Git master (refs/heads/master)
  • SVN 分支/* --- Git 分支 (refs/heads/*)
  • SVN 标签/* --- Git 标签 (refs/tags/*)

关于git - SVN 到 Git 分支/标签/主干,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13141871/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com