Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

delete branch

# deleting a local branch
$ git branch -d <branch_name>
$ git branch -D <branch_name> # forced

# deleting a remote branch
$ git push <remote_name> --delete <branch_name>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #delete #branch
ADD COMMENT
Topic
Name
6+2 =