Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git 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: #git #delete #branch
ADD COMMENT
Topic
Name
1+5 =