Reset branch after cleanup
This commit is contained in:
parent
438cadb3ae
commit
621c5f1238
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ gh() {
|
|||
git-cleanup() {
|
||||
command git checkout master && git branch --merged | grep -v '*' | xargs -n 1 git branch -d
|
||||
command git gc --aggressive
|
||||
command git checkout -
|
||||
}
|
||||
|
||||
alias t="tig"
|
||||
|
|
Loading…
Reference in a new issue