This commit is contained in:
Marc Beninca 2024-11-16 19:07:11 +01:00
parent 7f814102e0
commit beb479ba7c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -225,18 +225,17 @@ gfp() {
} }
# garbage collect all orphan commits # garbage collect all orphan commits
alias ggc="\ ggc() {
git \ git \
reflog \ reflog \
expire \ expire \
--all \ --all \
--expire \"all\" \ --expire "all" &&
; \ git \
git \ gc \
gc \ --aggressive \
--aggressive \ --prune="now"
--prune=\"now\" \ }
"
# initialize a new repository # initialize a new repository
alias gi="\ alias gi="\