2         whitespace = trailing-space,space-before-tab
 
  17         distclean = clean -f -d -X
 
  18         wdiff = diff --color-words
 
  19         wshow = show --color-words
 
  20         hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
 
  21         root = rev-parse --show-toplevel
 
  23         show-commit = !git --no-pager show -s --date=short --pretty='format:%h ("%s", %ad)\n'
 
  25         nuke = !sh -c 'git branch --delete $1 && git push origin --delete $1' -
 
  27         trim = !git ls-files -z | xargs -r0 sed -i -e 's/[[:space:]]*$//g'
 
  29         first-push = !git config branch.master.remote origin && \
 
  30                       git config branch.master.merge refs/heads/master && \
 
  31                       git push origin master:refs/heads/master
 
  33         rebase-from-last-merge = !git rebase -i $(git log --merges -1 --format='%H')
 
  43         compactionHeuristic = 1
 
  45 # The following settings define shortcuts for some popular remote
 
  48 # When using such shortcuts as remote URLs the default behavior will be:
 
  50 #   - fetch anonymously via https
 
  53 [url "https://git.drupal.org/"]
 
  55 [url "git@git.drupal.org:"]
 
  56         pushInsteadOf = drupal:
 
  58 [url "https://github.com/"]
 
  60 [url "git@github.com:"]
 
  61         pushInsteadOf = github:
 
  63 [url "https://gitlab.com/"]
 
  65 [url "git@gitlab.com:"]
 
  66         pushInsteadOf = gitlab:
 
  68 [url "https://gitlab.gnome.org/"]
 
  70 [url "git@gitlab.gnome.org:"]
 
  71         pushInsteadOf = gnome:
 
  73 [url "https://gitlab.freedesktop.org/"]
 
  74         insteadOf = freedesktop:
 
  75 [url "git@gitlab.freedesktop.org:"]
 
  76         pushInsteadOf = freedesktop:
 
  79         path = .gitconfig.local