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
|
||||
alias ggc="\
|
||||
ggc() {
|
||||
git \
|
||||
reflog \
|
||||
expire \
|
||||
--all \
|
||||
--expire \"all\" \
|
||||
; \
|
||||
--expire "all" &&
|
||||
git \
|
||||
gc \
|
||||
--aggressive \
|
||||
--prune=\"now\" \
|
||||
"
|
||||
--prune="now"
|
||||
}
|
||||
|
||||
# initialize a new repository
|
||||
alias gi="\
|
||||
|
|
Loading…
Reference in a new issue