42 lines
1.0 KiB
INI
42 lines
1.0 KiB
INI
[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
|
|
|
|
[credential "https://gist.github.com"]
|
|
helper = "/nix/store/isgmpcikb92pmj3ckpvjpbf45yk2n8y3-gh-2.53.0/bin/gh auth git-credential"
|
|
|
|
[credential "https://github.com"]
|
|
helper = "/nix/store/isgmpcikb92pmj3ckpvjpbf45yk2n8y3-gh-2.53.0/bin/gh auth git-credential"
|
|
|
|
[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"
|