Add a remove commit alias

This commit is contained in:
Kris Lamoureux 2020-06-17 09:34:52 -04:00
parent ae93ee9d15
commit 42b095a4ac
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -61,6 +61,10 @@ function rebase() {
git rebase -i HEAD~$1 git rebase -i HEAD~$1
} }
function delcommit() {
git reset --hard HEAD~$1
}
# Docker shortcuts # Docker shortcuts
function inspect() { function inspect() {
docker inspect "$1" | less docker inspect "$1" | less