about summary refs log tree commit diff
path: root/git/.gitconfig
blob: 0394754c69e92c1b6d321815bc9a5a044bc56ad3 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[user]
	name = Azat Bahawi
	email = azahi@teknik.io
	signingkey = 0xB40FCB6608BBE3B6
[core]
	attributesfile = ~/.gitattributes
	excludesfile = ~/.gitignore
	whitespace = trailing-space
[init]
	defaultbranch = master
[commit]
	gpgsign = true
[diff]
	mnemonicprefix = true
	renames = copies
	submodule = log
[branch]
	autosetupmerge = always
	autosetuprebase = always
[merge]
	conflictstyle = diff3
	stat = true
[rebase]
	autosquash = true
	autostash = true
[fetch]
	prune = true
[push]
	default = current
	followtags = true
[pull]
	ff = only
	rebase = true
[status]
	submodulesummary = true
[rerere]
	enabled = true
[advice]
	detachedhead = false
	pushnonfastforwards = false
	statushints = false
[color]
	ui = true
[github]
	user = azahi
[alias]
	ad = add
	ada = add --all
	al = config --get-regexp alias
	br = branch --all
	ch = checkout
	cho = checkout --orphan
	ci = commit
	cia = commit --amend
	cias = commit --amend --signoff
	cl = clone
	clr = clone --recurse-submodules
	cls = clone --depth=1
	cp = cherry-pick
	di = !"git diff-index --quiet HEAD ; git diff --patch-with-stat"
	dis = !"git diff-index --quiet HEAD ; git diff --patch-with-stat --staged"
	fe = fetch
	fer = fetch --all --recurse-submodules
	fuck = reset --hard
	gud = commit --message=\"git gud\"
	hist = log --all --decorate --abbrev-commit --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
	lo = log
	ls = ls-files
	me = merge
	mei = merge --interactive
	pl = pull
	plr = pull --all --recurse-submodules
	ps = push
	rb = rebase
	rbi = rebase --interactive
	re = reset HEAD
	ree = reset HEAD^
	reee = reset HEAD^^
	setup = !"git init && git commit --allow-empty -m Initial"
	st = status --short
	ui = update-index --assume-unchanged
	uiu = update-index --un-assume-unchanged
	wc = whatchanged -p --abbrev-commit --pretty=medium
	wtc = !"curl -s whatthecommit.com/index.txt | git commit --file -"

Consider giving Nix/NixOS a try! <3