0
Work in a team of 3 people and for each action we created a branch; over time the amount of branchs created will become great, so I decided to eliminate some branchs that are no longer being used and that would never be used again;
I first used the command git branch -d nome_da_branch
;
Still not having the goal achieved, I used another command: git push origin --delete nome_da_branch
;
The idea was to remove the branch from my machine and the network of all staff;
Some branchs disappeared in my local machine but not from the machine of the people who work with me; there are branchs that appear to me with the option to publish ("Publish Branch");
I would like to help with the removal of branchs;
I’ve already used the command git clean -[]
[n, i, f] according to the Git documentation but nothing has happened yet;
The branchs continue to appear in the other machines connected to Release and Master and with the option of "Publish".
– Lucas Anderson
References will continue in the rest. To resolve, try the command: git remote Prune
– Emerson Vieira
Unfortunately the branchs keep appearing in Vscode. But thank you all for your help.
– Lucas Anderson