.gitconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # -*- mode:conf -*-
  2. [user]
  3. email = mail@ambrevar.xyz
  4. name = Pierre Neidhardt
  5. [color]
  6. ui = true
  7. [alias]
  8. b = branch -vva
  9. c = commit
  10. ca = commit -a
  11. co = checkout
  12. d = diff --color-words
  13. dc = diff --color-words --cached
  14. l = log --stat
  15. lol = log --graph --decorate --pretty=format:'%C(yellow)%h %Cgreen%cd%C(bold red)%d%Creset %s' --abbrev-commit --date=short
  16. m = mergetool
  17. r = remote -v
  18. s = status -uno
  19. su = status -uno -u
  20. [tar "tar.xz"]
  21. command = xz -c
  22. [push]
  23. default = current
  24. ## Ediff merge tool.
  25. ## See:
  26. ## http://kerneltrap.org/mailarchive/git/2007/7/1/250424
  27. ## http://stackoverflow.com/questions/1817370/using-ediff-as-git-mergetool
  28. [mergetool.ediff]
  29. cmd = emacs --eval \" (progn (defun ediff-write-merge-buffer () (let ((file ediff-merge-store-file)) (set-buffer ediff-buffer-C) (write-region (point-min) (point-max) file) (message \\\"Merge buffer saved in: %s\\\" file) (set-buffer-modified-p nil) (sit-for 1))) (setq ediff-quit-hook 'kill-emacs ediff-quit-merge-hook 'ediff-write-merge-buffer) (ediff-merge-files-with-ancestor \\\"$LOCAL\\\" \\\"$REMOTE\\\" \\\"$BASE\\\" nil \\\"$MERGED\\\"))\"
  30. [merge]
  31. tool = ediff
  32. [sendemail]
  33. smtpencryption = tls
  34. smtpserver = mail.gandi.net
  35. smtpuser = mail@ambrevar.xyz
  36. smtpserverport = 587
  37. # to = guix-patches@gnu.org
  38. suppresscc = author
  39. # sendemail.confirm = auto
  40. [core]
  41. pager = cat
  42. [man]
  43. viewer = catman
  44. [man "catman"]
  45. cmd = man -P cat
  46. [credential]
  47. # helper = netrc --debug --verbose
  48. helper = netrc
  49. [diff "gpg"]
  50. binary = true
  51. textconv = gpg -d --quiet --yes --compress-algo=none --no-encrypt-to
  52. [http]
  53. proxy = socks5://127.0.0.1:9050
  54. [github]
  55. user = ambrevar