Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git delete remote branches in local git

# Fetch changes from all remotes and locally delete 
# remote deleted branches/tags etc
# --prune will do the job :-;
git fetch --all --prune
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #delete #remote #branches #local #git
ADD COMMENT
Topic
Name
4+2 =