branch: support configuring --sort via .gitconfig
[gitweb.git] / Documentation / config.txt
index fd8d27e7618b2c3d29ed0d61ba63b707571752d7..7f7a5012388456f47bd4d6ac3cca7f0124c1f858 100644 (file)
@@ -1039,6 +1039,12 @@ branch.autoSetupRebase::
        branch to track another branch.
        This option defaults to never.
 
+branch.sort::
+       This variable controls the sort ordering of branches when displayed by
+       linkgit:git-branch[1]. Without the "--sort=<value>" option provided, the
+       value of this variable will be used as the default.
+       See linkgit:git-for-each-ref[1] field names for valid values.
+
 branch.<name>.remote::
        When on branch <name>, it tells 'git fetch' and 'git push'
        which remote to fetch from/push to.  The remote to push to