“Excluir filiais locais não no controle remoto” Respostas de código

Git Excluir ramificações locais não no controle remoto

git fetch -p && for branch in $(git branch -vv | grep ': gone]' | awk '{print $1}'); do git branch -D $branch; done
Amused Ant

git excluir galhos que não estão no controle remoto

git fetch --all --prune
Juice WRLD

Excluir filiais locais não no controle remoto

git branch -vv | grep ': gone]'|  grep -v "\*" | awk '{ print $1; }' | xargs -r git branch -D
Tame Tiger

git excluir galhos não no controle remoto

git branch --merged >/tmp/merged-branches && \
  vi /tmp/merged-branches && xargs git branch -d </tmp/merged-branches
Easy Earthworm

Respostas semelhantes a “Excluir filiais locais não no controle remoto”

Perguntas semelhantes a “Excluir filiais locais não no controle remoto”

Mais respostas relacionadas para “Excluir filiais locais não no controle remoto” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código