Variable: magit-main-branch-names

magit-main-branch-names is a variable defined in magit-git.el.

Value

("main" "master" "trunk" "development")

Documentation

Branch names reserved for use by the primary branch.

Use function magit-main-branch to get the name actually used in the current repository.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-git.el
(defvar magit-main-branch-names
  '("main" "master" "trunk" "development")
  "Branch names reserved for use by the primary branch.
Use function `magit-main-branch' to get the name actually used in
the current repository.")