aboutsummaryrefslogtreecommitdiff
path: root/vcs/gitconfig.ini
blob: 2340347ba01644f3039cc0e04250dfbb791acb34 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[user]
  email = eu@euandre.org
  name = EuAndreh
  signingkey = 81F90EC3CD356060
[transfer]
  # https://matthiasbussonnier.com/posts/33-sign-commits-on-github.md.html
	fsckobjects = true
[log]
  # https://git-scm.com/docs/git-config#git-config-logshowSignature
  # showSignature = true
[diff "sqlite3"]
  # drops a db file into sqlite3 and runs .dump before any diff comparisons
  binary = true
  textconv = "echo .dump | sqlite3"
[core]
  editor = vi
  excludesfile = ~/.gitignore_global

  # https://stackoverflow.com/questions/5834014/lf-will-be-replaced-by-crlf-in-git-what-is-that-and-is-it-important#5834094
  # https://help.github.com/articles/dealing-with-line-endings/
  autocrlf = input
  attributesfile = ~/.gitattributes
[push]
  # https://stackoverflow.com/a/22933955
  default = current
[filter "lfs"]
  clean = git-lfs clean -- %f
  smudge = git-lfs smudge -- %f
  process = git-lfs filter-process
  required = true
  fetchrecentalways = true
  fetchrecentrefsdays = 15
  fetchrecentcommitsdays = 7
  fetchrecentremoterefs = true
  followTags = true
[alias]
  sha = rev-parse HEAD
  sha7 = ! git sha | head -c 7
  prune-branches = !git branch --merged | grep -v main | xargs git branch -d
  sync = !git annex sync s3 && git annex sync origin
  tarball = !git-tarball.sh
[annex]
  gnupg-options = --no-tty
  gnupg-decrypt-options = --no-tty
  autocommit = false
  synccontent = true
  genmetadata = true
[commit]
  gpgsign = true
  verbose = true
[fetch]
  prune = true
[pack]
  packSizeLimit = 2g
[pull]
  rebase = false
[sendemail]
  assume8bitEncoding = UTF-8
  smtpserver = /run/current-system/sw/bin/msmtpq
  smtpserveroption = -a
  smtpserveroption = euandreh
  annotate = yes
  confirm = never
[init]
	defaultBranch = main
[tar "tar.xz"]
	command = xz -c
# git config format.signOff yes