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 intended to be used for 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-20261018.804/magit-git.el
(defvar magit-main-branch-names
  '("main" "master" "trunk" "development")
  "Branch names intended to be used for the primary branch.
Use function `magit-main-branch' to get the name actually used in
the current repository.")