summary refs log tree commit diff
path: root/gitconfig
blob: b672612650fbe061b64f7431c1aaea1eb954fe38 (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
[color]
	status = auto
	branch = auto
	diff = auto

[i18n]
	commitencoding = utf-8

[alias]
	amend = commit --amend
	br = branch
	ci = commit
	co = checkout
	fixup = rebase -i HEAD~5
	g = "grep --heading --break"
	lt = log --oneline --graph --all
	l = log --pretty=format:'%<(10)%h %<(20)%an %s'
	pending = !GIT_CURRENT_BRANCH=$(git name-rev --name-only HEAD) && git log origin/$GIT_CURRENT_BRANCH..$GIT_CURRENT_BRANCH --oneline
	pr = pull --rebase
	st = status  -s
	stat = show HEAD --stat
	wip = commit -a -m WIP

[core]
	whitespace = trailing-space,space-before-tab
	excludesfile = ~/.gitignore
	pager = less -+$LESS -R

[branch]
	autosetuprebase = remote

[include]
	path = ~/.gitconfig.private

[http]
	postBuffer = 524288000