Main branch ne demek?

Main branch, Türkçede “ana dal” ya da “ana branch” anlamına gelir.

isimTemel terim

Yazılım İngilizcesi · Sürüm Kontrolü

Deponun kodun resmi ve güncel sürümünü tutan merkezi dalı. Diğer dallar bundan oluşturulur ve sonunda yeniden buna birleştirilir.

English: The central branch of a repository that holds the official, up-to-date version of the code. Other branches are created from it and merged back into it.

Nerede ve nasıl kullanılır?

Genellikle 'main' adını taşır; eski projelerde 'master' kullanılır. Ekipler ana dalı korumaya alır, böylece kimse doğrudan push edemez. 'Branch off main' (main'den dal açmak), 'merge into main' ve son build başarısız olduğunda 'main is broken' denir.

Örnek cümleler

  1. Nobody can push directly to the main branch; everything goes through a pull request.

    Kimse doğrudan ana dala push edemez; her şey pull request üzerinden gider.

  2. Create your branch from the latest main branch, not from my feature branch.

    Branch'ini benim feature branch'imden değil, ana dalın en güncel halinden oluştur.

Sık kullanılan kalıplar

  • merge into the main branch
  • protected main branch
  • branch off main
  • keep main green