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.
This commit is contained in:
Tom Alexander 2023-07-24 16:44:03 -04:00
parent 1badd8049e
commit 7960699636
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -7,6 +7,7 @@
[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]