hfcamilo
9/4/2017 - 7:27 PM

removendo_branchs_antigas

-- REMOVENDO BRANCHS ANTIGAS
git fetch -p

-- TESTE PARA VISUALIZAR AS BRANCHS QUE SERAO REMOVIDAS
git branch --remote --merged origin/develop | grep -v 'develop' | grep -v 'qa' | grep -v 'stage' | grep -v 'master' | cut -b 10- | xargs

-- COMANDO PARA REMOVER AS BRANCHS JÁ MERGEADAS
git branch --remote --merged origin/develop | grep -v 'develop' | grep -v 'qa' | grep -v 'stage' | grep -v 'master' | cut -b 10- | xargs git push --delete origin