dotfiles/chezmoi/dot_config/git/config
2024-09-13 17:35:03 -04:00

36 lines
813 B
Plaintext

[alias]
lg = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
st = "status -s"
undo = "reset HEAD~1 --mixed"
smu = "submodule update --init --recursive"
ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi"
up = "pull --rebase --autostash"
cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d"
[commit]
gpgsign = true
[github]
user = "walkah"
[gpg]
format = "ssh"
[gpg "ssh"]
allowedSignersFile = "~/.ssh/allowed_signers"
[init]
defaultBranch = "main"
[pull]
rebase = true
[rebase]
autoStash = true
[user]
email = "walkah@walkah.net"
name = "James Walker"
signingkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOxgkaPcUYkMjk7SEBFrYpJ2mGK+8iPgLYwV+XpNp5Nl"