]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vcs/gitconfig.in
vcs: gitconfig: sort tags as version numbers
[config/dotfiles.git] / vcs / gitconfig.in
index 1c42cdfd28230dfa34aac67dd9f1ba97fed27ef0..7476a829397b259d6a28f8c15674c63ec66b1a01 100644 (file)
        f   = fetch
        t   = tag
        p   = push
+       pf  = push --force-with-lease
        # Parallel git remote update. Also strips unnecessary output.
        ru = "! git remote \
              | xargs -d '\\n' -n1 -P0 git remote update 2>&1 \
        # Keep the default branch name
        defaultBranch = master
 
+[tag]
+       # Sort tags as version numbers
+       sort = version:refname
+
 
 # NON-GIT SETTINGS