1. Learn center
  2. Software Development
  3. Guides
  4. Git tutorial
  5. Git 協作
  6. 分支的工作流程
  7. 主分支(main)
Git

Project and code management together.

Try it free

主分支(main)

在儲存庫中進行第一次提交時,預設情況下 Git 會自動建立一個主分支。隨後的提交將在主分支下進行,直到您決定建立並切換到另一個分支。

駐留在主分支的代碼庫是生產就緒的。當最新的提交準備好用於特定版本時,它將被賦予一個發佈標籤。

Changes are committed to the main branch.
更改已提交到主分支。

Subscribe to our newsletter

Learn with Nulab to bring your best ideas to life