~kaction/config

ref: 937f1dc71c050881291ae5251621b4395143987b config/manifest/user/git.conf -rw-r--r-- 2.1 KiB
937f1dc7 — Dmitry Bogatov Merge branch 'feature/provision-gitconfig' into next 4 months ago
                                                                                
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# -*- conf-unix -*-
[user]
	name = Dmitry Bogatov
	email = "git#v1@kaction.cc"
[commit]
	cleanup = scissors
[alias]
	log-fetched = log ORIG_HEAD.. --stat --no-merges
	new = !sh -c 'git log $1@{1}..$1@{0} "$@"'
	co = checkout
	logp = !@logp@
	pretend = diff --cached
	stat = !git --no-pager diff --stat
	over = !git --no-pager log --oneline --max-count=12
	codex = !codex update
	hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
	type = cat-file -t
	dump = cat-file -p
	find = log --pretty=\"format:%Cgreen%H %Cblue%s\" --name-status --grep
	record = commit --gpg-sign
	choose = add --patch
	fresh = !git clean -dfx && git reset --hard
	amend = !EDITOR=true git commit --amend
	shallow = clone --depth 1
	fungo = !git commit --allow-empty -m 'Root commit'
	root = !pwd
	forget = co HEAD --
	prefetch = !git -c gc.auto=0 fetch --dry-run --all --quiet
	pushf = push -f origin HEAD
	bugs = !git bug ls --status=open
[color]
	ui = true
[push]
	default = matching
	followTags = true
[merge]
	log = true
	ff = false
[gc]
	writeCommitGraph = true
[core]
	hooksPath = ~/githooks
	commitGraph = true
	autolf = true
[url "ssh://git@git.sr.ht"]
	pushInsteadOf = https://git.sr.ht
[url "ssh://git@github.com"]
	pushInsteadOf = https://github.com
[pager]
	diff = @perl@/bin/perl @git@/share/git/contrib/diff-highlight/diff-highlight
	show = @perl@/bin/perl @git@/share/git/contrib/diff-highlight/diff-highlight
	log  = @perl@/bin/perl @git@/share/git/contrib/diff-highlight/diff-highlight
[include]
	path = ~/.gitconfig.email
	path = ~/.gitconfig.override
[github]
	user = kaction
[tig]
	vertical-split = false
[tig "bind"]
	main = R !git revert %(commit)
[tar "tar.xz"]
	command = xz -c
[tar "tar.gz"]
	command = gzip -c
[sendemail]
	confirm = always
	smtpserver = /usr/bin/env
	cc = "~kaction/contrib@lists.sr.ht"
	suppresscc = author
	smtpserveroption = msmtp
[format]
	notes = true
	signature = "If possible, please keep mailing list in CC. It is public."
[rebase]
	autoSquash = true
[init]
	# Option introduced in 2.28 and there is risk of default being
	# changed in subsequent versions.
	defaultBranch = master
[merge-pr]
	autoclose = false