Add a remove commit alias
This commit is contained in:
parent
ae93ee9d15
commit
42b095a4ac
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user