ggc
This commit is contained in:
parent
7f814102e0
commit
beb479ba7c
1 changed files with 11 additions and 12 deletions
|
@ -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="\
|
||||||
|
|
Loading…
Reference in a new issue