X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vcs%2Fgitconfig.in;h=7476a829397b259d6a28f8c15674c63ec66b1a01;hb=7adece76ae1a6452248f2d2d26d1d5f21b0f38f6;hp=eb9c61d2047a2139d572aead836b7807cb2c05b2;hpb=6d98916f74cf9ee437dbe2d1711a172d5549dadc;p=config%2Fdotfiles.git diff --git a/vcs/gitconfig.in b/vcs/gitconfig.in index eb9c61d..7476a82 100644 --- a/vcs/gitconfig.in +++ b/vcs/gitconfig.in @@ -76,7 +76,7 @@ ls = log --stat lp = log --patch lpw = log --patch --color-words - ld = show --date=short --no-patch --pretty='format:%h (\"%s\", %ad)' # describe + ld = show --no-patch --date=short --pretty='format:%h (%s, %ad)' # describe, same as --pretty=reference a = add ap = add --patch au = add --update @@ -102,6 +102,7 @@ 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 \ @@ -249,6 +250,10 @@ # Keep the default branch name defaultBranch = master +[tag] + # Sort tags as version numbers + sort = version:refname + # NON-GIT SETTINGS