about summary refs log tree commit diff
path: root/.config/git/config
blob: fd8b7ff797c42e6509690fcd96dd81e00c525876 (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
[user]
	email = us@starfall.systems
	name = Starfall
	signingkey = 541D770208F350CF2D8050BEBA9A53C969522B56
[init]
	templateDir = ~/.config/git/template
[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
	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