about summary refs log tree commit diff
path: root/.config/git/config
blob: e11e2ea22d742808edfa6da1d95fc473a8c5005f (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
[user]
	email = us@starfall.systems
	name = Rabbit Whispers
	signingkey = 541D770208F350CF2D8050BEBA9A53C969522B56
[diff]
	algorithm = histogram
[init]
	defaultBranch = main
[commit]
	gpgsign = true
[log]
	mailmap = true
[pull]
	rebase = true
[push]
	autoSetupRemote = true
[rebase]
	autosquash = true
[alias]
; improve clean command output at some point
; probably also needs to checkout main or develop first
	cleanup = !git remote prune origin && git branch | xargs git branch -d
	force = push --force-with-lease
	last = !git --no-pager show --abbrev-commit HEAD
	oops = commit --all --amend --no-edit
	rebranch = !git checkout main && git pull && git checkout - && git rebase main
	stashpull = !git stash && git pull && git stash pop
	stat = status
	tree = log --all --graph --oneline
	hide = update-index --assume-unchanged
	unhide = update-index --no-assume-unchanged
	hidden = ! git ls-files -v | grep '^h' | cut -c3-
[gpg]
	program = gpg