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