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 www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #delete #branch #local #remote
ADD COMMENT
Topic
Name
8+1 =