ggc
This commit is contained in:
parent
7557c5b2cc
commit
9bd2c799a0
1 changed files with 9 additions and 2 deletions
|
@ -90,9 +90,16 @@ alias gfp='git fetch --prune --tags --verbose'
|
||||||
|
|
||||||
# garbage collect all orphan commits
|
# garbage collect all orphan commits
|
||||||
alias ggc="\
|
alias ggc="\
|
||||||
git reflog expire --expire=now --all \
|
git \
|
||||||
|
reflog \
|
||||||
|
expire \
|
||||||
|
--all \
|
||||||
|
--expire \"all\" \
|
||||||
; \
|
; \
|
||||||
git gc --prune=now \
|
git \
|
||||||
|
gc \
|
||||||
|
--aggressive \
|
||||||
|
--prune \"now\" \
|
||||||
"
|
"
|
||||||
|
|
||||||
# initialize a new repository
|
# initialize a new repository
|
||||||
|
|
Loading…
Reference in a new issue