Don't GC when doing git cleanup
This commit is contained in:
parent
11aa644a14
commit
47cdcd6734
1 changed files with 0 additions and 1 deletions
|
@ -17,7 +17,6 @@ git-cleanup() {
|
||||||
command git branch --merged | grep -v '*' | xargs -n 1 git branch -D
|
command git branch --merged | grep -v '*' | xargs -n 1 git branch -D
|
||||||
command git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D
|
command git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D
|
||||||
command git remote prune origin
|
command git remote prune origin
|
||||||
command git gc --aggressive
|
|
||||||
command git checkout -
|
command git checkout -
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue