From: Simon Ruderich Date: Sun, 13 Aug 2023 07:50:09 +0000 (+0200) Subject: vcs: gitconfig: sort tags as version numbers X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=7adece76ae1a6452248f2d2d26d1d5f21b0f38f6;p=config%2Fdotfiles.git vcs: gitconfig: sort tags as version numbers --- diff --git a/vcs/gitconfig.in b/vcs/gitconfig.in index e7d0893..7476a82 100644 --- a/vcs/gitconfig.in +++ b/vcs/gitconfig.in @@ -250,6 +250,10 @@ # Keep the default branch name defaultBranch = master +[tag] + # Sort tags as version numbers + sort = version:refname + # NON-GIT SETTINGS