machine_setup/ansible/roles/base/files/gitconfig_home
Tom Alexander 7960699636
Add a git alias "git amend".
This allows us to generate a new git commit hash without changing the commit contents which is useful for triggering CI workflows.
2023-07-24 16:44:23 -04:00

21 lines
491 B
Plaintext

[user]
email = tom@fizz.buzz
name = Tom Alexander
signingkey = D3A179C9A53C0EDE
[push]
default = simple
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
bh = log --oneline --branches=* --remotes=* --graph --decorate
amend = commit --amend --no-edit
[core]
excludesfile = ~/.gitignore_global
[commit]
gpgsign = true
[pull]
rebase = true
[log]
date = local
[init]
defaultBranch = main