Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git: delete branch in local and on remote

// Delete branch locally
% git branch -D <branch-name>

// Delete branch remotely
% git push origin --delete <branch-name>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #branch #local #remote
ADD COMMENT
Topic
Name
1+3 =