about summary refs log tree commit diff
path: root/.config/git/config
blob: 8e3681d0c75e12b08797bb4a36fd71f3c3c36524 (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
[user]
	email = us@starfall.systems
	name = Starfall
	signingkey = 541D770208F350CF2D8050BEBA9A53C969522B56
[init]
	defaultBranch = main
[commit]
	gpgsign = true
[log]
	mailmap = true
[pull]
	rebase = true
[rebase]
	autosquash = true
[alias]
; improve clean command output at some point
; probably also needs to checkout main or develop first
	clean = !git remote prune origin && git branch | xargs git branch -d
	force = push --force-with-lease
	last = !got --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
	unstage = restore --staged
[gpg]
	program = gpg2