]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vcs/gitconfig.in
vcs: gitconfig: prevent planned change of the default branch name
[config/dotfiles.git] / vcs / gitconfig.in
index 1394a4bb2c3614c20838c9f6f5df296cc39b4ce6..ce370a50f45fc3fc70457f34b26365c769d39d26 100644 (file)
@@ -62,7 +62,7 @@
        ## Local.
        c   = commit --verbose
        ca  = commit --verbose --amend
-       cad = commit --verbose --amend --date=
+       cad = commit --verbose --amend --date=now
        d   = diff
        dw  = diff --color-words
        ds  = diff --stat
@@ -76,7 +76,7 @@
        ls  = log --stat
        lp  = log --patch
        lpw = log --patch --color-words
-       ld  = show --date=short -s --pretty='format:%h (\"%s\", %ad)' # describe
+       ld  = show --date=short --no-patch --pretty='format:%h (\"%s\", %ad)' # describe
        a   = add
        ap  = add --patch
        au  = add --update
        wordRegex = [a-zA-Z0-9_]+|[^a-zA-Z0-9_]
 
 # Rules to allow diffing of some binary files. Disabled by default to prevent
-# programs from running them on arbitrary files via a .local .gitattributes
+# repositories from running them on arbitrary files via a local .gitattributes
 # file. Copy them to .git/config of the repository to enable them.
 #
 # "sh -c '..' ARGV0" is used when the programs require additional arguments
        # Don't create .git/hooks with any sample hooks. Reduces the clutter
        # in new git repositories.
        templateDir =
+       # Keep the default branch name
+       defaultBranch = master
 
 
 # NON-GIT SETTINGS